My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Contributing  
Contributing code to the Gnome Gmail Noifier project.
Featured, Phase-Implementation
Updated Jul 13, 2009 by geekysuavo@gmail.com

Thanks!

First of all, I'd like to thank everyone who has contributed code, ideas, or time to the notifier project. You've been a great help to me in making the notifier what it is currently. To make sure that these collaborations are as efficient as possible in the future, please follow these simple guidelines when submitting code or ideas to the project...

Submitting patches

I'm kind of picky about the formatting of my patches, so if you could, when you diff your changes, please use the following command:

diff -Naur [old-code] [new-code]

Formatting conventions

I'm also kind of picky about code formatting, so if you could follow these rules while changing the code, that would be great:

  • Use two spaces instead of a tab for each indention (careful of your vi settings!)
  • Opening braces should be inline with the if or function they open
  • Splats go with variable names now, not types, as per C convention. (char *foo;)
  • When in doubt, put a space between words, i.e.:
  •    foo = foo_func (bar, baz, NULL);
  • In general, just follow the formatting of the current code.

Thanks again everyone.

~ Brad. (geekysuavo@gmail.com)


Sign in to add a comment
Powered by Google Project Hosting