diff options
author | Dan Williams <dcbw@redhat.com> | 2004-08-13 15:41:31 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2004-08-13 15:41:31 +0000 |
commit | 1984461297b28be74d9478ff035f74248740d603 (patch) | |
tree | befada08762121ab84321d71d83055988960876d /CONTRIBUTING | |
parent | 7efe5ebc256e9cdabadec83aeda21df5167fb85a (diff) | |
download | NetworkManager-1984461297b28be74d9478ff035f74248740d603.tar.gz |
2004-08-13 Dan Williams <dcbw@redhat.com>
* CONTRIBUTING
- Add
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@50 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'CONTRIBUTING')
-rw-r--r-- | CONTRIBUTING | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000000..11cf6ec817 --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,17 @@ +Guidelines for Contributing: + +1) Platform-specific functionality (for example, location of binaries that NetworkManager calls) should be done in a platform-independent manner. If code currently in NetworkManager does not accomodate that, then the code in NetworkManager needs to be changed to provide that. For example, if another platform does not use "dhclient" to get DHCP information, a separate function should be created to return a command-line string to call rather than inserting huge if/#ifdef blocks into the current function. + +2) Coding standards are more-or-less GNOME coding standards, with these exceptions: + a) 5 space tabs (no 8-space tabs allowed) + b) REAL tabs + c) Braces are moved to the next line, like: + if (foobar) + { + ... + } + rather than: + if (foobar) { + ... + } + d) Limiting line width to 80 characters is frowned upon |