Whamcloud - gitweb
LU-3434 build: disable automatic Git hook install 46/7046/3
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 19 Jul 2013 09:01:07 +0000 (03:01 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 17 Aug 2013 06:58:37 +0000 (06:58 +0000)
Don't automatically install the Git commit hooks for checking code
and commit message style into .git/hooks/{prepare-,}commit-msg.
This should be done manually by the developer and/or checked when
the patch is pushed to Gerrit.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ie44be3baa5f04eb71a3d7f76556c455fd5fa7052
Reviewed-on: http://review.whamcloud.com/7046
Reviewed-by: Ned Bass <bass6@llnl.gov>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Christopher J. Morrone <chris.morrone.llnl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

diff --git a/README b/README
index 8f274ba..f2a8b05 100644 (file)
--- a/README
+++ b/README
@@ -1,10 +1,18 @@
-Instructions for building, configuring and running Lustre can be found at:
-    http://wiki.whamcloud.com/display/PUB/Submitting+Changes
-    http://wiki.whamcloud.com/display/PUB/Using+Gerrit
+Instructions for building, configuring and running Lustre:
+    https://wiki.hpdd.intel.com/display/PUB/Building+Lustre+from+Source
+    https://wiki.hpdd.intel.com/display/PUB/Getting+started+with+Lustre.
+Instructions for contributing patches for Lustre:
+    https://wiki.hpdd.intel.com/display/PUB/Submitting+Changes
+    https://wiki.hpdd.intel.com/display/PUB/Using+Gerrit
 The Lustre Coding Style Guidelines can be found at:
-    http://wiki.whamcloud.com/display/PUB/Coding+Guidelines
+    https://wiki.hpdd.intel.com/display/PUB/Coding+Guidelines
+The Lustre Test Script Style Guidelines can be found at:
+    https://wiki.hpdd.intel.com/display/PUB/Test+Coding+Style
 In order to improve the quality of patches submitted to the Lustre tree,
 it is possible to automatically check every patch and commit against the
index fd09398..00f5c4b 100644 (file)
@@ -18,13 +18,6 @@ run_cmd()
-# install Lustre Git commit hooks by default - LU-2083
-for HOOK in commit-msg prepare-commit-msg; do
-       if [ -d .git/hooks -a ! -e .git/hooks/$HOOK ]; then
-               ln -sf ../../build/$HOOK .git/hooks/
-       fi
 echo "Checking for a complete tree..."
 REQUIRED_DIRS="libcfs lnet lustre"
 OPTIONAL_DIRS="snmp portals"