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>
-Instructions for building, configuring and running Lustre can be found at:
- http://wiki.whamcloud.com/display/PUB/Submitting+Changes
-and:
- 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
+and
+ 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
+and
+ https://wiki.hpdd.intel.com/display/PUB/Using+Gerrit
The Lustre Coding Style Guidelines can be found at:
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
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
-# 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
-done
-
echo "Checking for a complete tree..."
REQUIRED_DIRS="libcfs lnet lustre"
OPTIONAL_DIRS="snmp portals"
echo "Checking for a complete tree..."
REQUIRED_DIRS="libcfs lnet lustre"
OPTIONAL_DIRS="snmp portals"