Blame CONTRIBUTING

Packit Service d328f3
Guidelines for Contributing:
Packit Service d328f3
Packit Service d328f3
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.
Packit Service d328f3
Packit Service d328f3
2) Coding standards are more-or-less GNOME coding standards, with these exceptions:
Packit Service d328f3
	a) 5 space tabs  (no 8-space tabs allowed)
Packit Service d328f3
	b) REAL tabs
Packit Service d328f3
	c) Braces are moved to the next line, like:
Packit Service d328f3
		if (foobar)
Packit Service d328f3
		{
Packit Service d328f3
			...
Packit Service d328f3
		}
Packit Service d328f3
	  rather than:
Packit Service d328f3
		if (foobar) {
Packit Service d328f3
			...
Packit Service d328f3
		}
Packit Service d328f3
	d) Limiting line width to 80 characters is frowned upon