Log in | Back to darenet.org

Development Team/Commit Guidelines

m
m
Line 1: Line 1:
 +
{{Header|1 = <h2>'''[[Development Team|DareNET Development Wiki]]''' - {{FULLPAGENAME}}</h2>}}
Once you have commit access, there are a few other small rules to follow:
Once you have commit access, there are a few other small rules to follow:

Revision as of 02:03, 18 April 2009

DareNET Development Wiki - Development Team/Commit Guidelines

Once you have commit access, there are a few other small rules to follow:

  • Always add a changelog entry with a meaningful explanation.
  • If you fix a bug, please add a regression test for it in the test suite.
  • Don't commit unrelated changes together with a fix: do fine-grained commits.
  • Always check what you're committing: make sure you're only committing what you need and make sure you don't change line endings and whitespace. Do a svn diff of the files you're going to commit and check the changes.
  • Don't do reformatting commits, unless you're the original author of the code.
  • When fixing bugs, don't follow the documentation blindly, it may well be wrong. Test the behavior or ask on the list for discussion if unsure. Don't be afraid of having your changes reviewed.
  • Never remove copyright notices from the code.
  • Never remove licensing info from code.
  • Never commit code you didn't write yourself or code that doesn't have a suitable license.
  • Follow the coding guidelines.
  • Do a regression test run if making changes to core functionality before committing.

Also, remember to pat yourself on the back after the commit, smile and think we're a step closer to a better ircd/services.