summaryrefslogtreecommitdiff
path: root/doc/maintainer-guidelines.txt
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-02-02 09:54:26 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2015-02-02 09:54:26 +0200
commit11ba1d7233fa117ffa525ccc26556372221158f5 (patch)
treebac11a51c980f2976ef49f0209e5271b28dc2002 /doc/maintainer-guidelines.txt
parent1fb2b9035e53630591f5139e0c7740f6b189c0b5 (diff)
downloadbluez-11ba1d7233fa117ffa525ccc26556372221158f5.tar.gz
maintainer-guidelines: Add rule for new files
Diffstat (limited to 'doc/maintainer-guidelines.txt')
-rw-r--r--doc/maintainer-guidelines.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/maintainer-guidelines.txt b/doc/maintainer-guidelines.txt
index 3358c45ff..b1c6b3a57 100644
--- a/doc/maintainer-guidelines.txt
+++ b/doc/maintainer-guidelines.txt
@@ -65,6 +65,7 @@ repositories.
Violations of this rule create a mess in the tree that can not be
reversed. If in doubt ask one of the seasoned maintainers.
+
Rule 3: Enforce correct coding style
====================================
@@ -87,3 +88,17 @@ do this:
--ignore CAMELCASE,NEW_TYPEDEFS,INITIALISED_STATIC -
The above assumes that a kernel tree resides in ~/src/linux/.
+
+
+Rule 4: Pay extra attention to adding new files to the tree
+===========================================================
+
+New files that are added to the tree require several things to be
+verified first:
+
+ - Check that the names are acceptible with other maintainers
+ - Ensure that the file modes are correct
+ - Verify that the license & copyright headers are correct
+ - If the file is supposed to be part of the release taraball,
+ make sure that it gets picked up by 'make dist' (particularly
+ important for documentation or other files that are not code)