| Issue 38: | NOTICE - Common Coding practise | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi Guys,
As a common coding practice, make sure of the following things while
uploading your files to the svn.
1. Make sure that each file has the GNU header in it at the top.
2. The name of the author(s) and the email-id(s) of the author(s) should be
there.
3. Make sure you don't upload any .o,.ko or any other binary files in the
ohsm/source/ directory.
4. You can use you users directory for the same,.
5. You should only upload .c, .h, .sh and .txt files in the source directory.
6. Do not upload any .doc or .pdf files there.
7. Add a README and INSTALL file without extenion in each of the source
directory. This will describe the functionality and the menthod to install,
if any. We should have a single INSTALL file in ohsm/source directory.
8. In the source files, make sure there are no spaces at the beginning of
each line.
9. Make sure that the code is indented well.
10. comment style should be like this even for a single line.
/*
* This is a sample.
*/
11. Make sure you code compiles properly without even a single warning.
12. compile your code with -Wall flag set.
All of you have a separate module and there is one directory for each
module. Kindly take care of your modules and your respective directory.
Any doubts/question ?
Jan 30, 2009
#1
postri...@gmail.com
Status:
Nothing-Todo
Jan 30, 2009
What should be the Module Licence ?? GPL v3 results in a warning "taints kernel"
Jan 30, 2009
We will be using GPL v2. |