From: Andreas Dilger Date: Fri, 19 Jul 2013 09:01:07 +0000 (-0600) Subject: LU-3434 build: disable automatic Git hook install X-Git-Tag: 2.4.91~5 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=389ce07f0e1706765550f873843470dd0303cdc0 LU-3434 build: disable automatic Git hook install 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 Change-Id: Ie44be3baa5f04eb71a3d7f76556c455fd5fa7052 Reviewed-on: http://review.whamcloud.com/7046 Reviewed-by: Ned Bass Tested-by: Hudson Tested-by: Maloo Reviewed-by: Christopher J. Morrone Reviewed-by: Oleg Drokin --- diff --git a/README b/README index 8f274ba..f2a8b05 100644 --- 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 -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: - 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 diff --git a/autogen.sh b/autogen.sh index fd09398..00f5c4b 100644 --- a/autogen.sh +++ b/autogen.sh @@ -18,13 +18,6 @@ run_cmd() echo } -# 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"