File: CONTRIBUTING

package info (click to toggle)
network-manager 0.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 5,508 kB
  • ctags: 2,495
  • sloc: ansic: 27,329; sh: 9,899; makefile: 565
file content (17 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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