From 11ba1d7233fa117ffa525ccc26556372221158f5 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 2 Feb 2015 09:54:26 +0200 Subject: [PATCH] maintainer-guidelines: Add rule for new files --- doc/maintainer-guidelines.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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) -- 2.47.3