You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by zj...@apache.org on 2015/05/12 22:49:35 UTC
[18/36] hadoop git commit: HADOOP-11928. Test-patch check for @author
tags incorrectly flags removal of @author tags (Kengo Seki via aw)
HADOOP-11928. Test-patch check for @author tags incorrectly flags removal of @author tags (Kengo Seki via aw)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c08d7368
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c08d7368
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c08d7368
Branch: refs/heads/YARN-2928
Commit: c08d73684c4b70714fc9771d500b9e40c5072bc6
Parents: f652371
Author: Allen Wittenauer <aw...@apache.org>
Authored: Mon May 11 11:35:02 2015 -0700
Committer: Zhijie Shen <zj...@apache.org>
Committed: Tue May 12 13:24:13 2015 -0700
----------------------------------------------------------------------
dev-support/test-patch.sh | 2 +-
hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/c08d7368/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index 788178b..a3ce567 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -1495,7 +1495,7 @@ function check_author
return 0
fi
- authorTags=$("${GREP}" -c -i '@author' "${PATCH_DIR}/patch")
+ authorTags=$("${GREP}" -c -i '^[^-].*@author' "${PATCH_DIR}/patch")
echo "There appear to be ${authorTags} @author tags in the patch."
if [[ ${authorTags} != 0 ]] ; then
add_jira_table -1 @author \
http://git-wip-us.apache.org/repos/asf/hadoop/blob/c08d7368/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index e850a55..929ada1 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -653,6 +653,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect
(hellojinjie via jlowe)
+ HADOOP-11928. Test-patch check for @author tags incorrectly flags
+ removal of @author tags (Kengo Seki via aw)
+
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES