Repository: hadoop
Updated Branches:
  refs/heads/branch-2 cea8213c3 -> 5c7c7b7b7


HADOOP-11948. test-patch's issue matching regex should be configurable. (Sean 
Busbey via aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5c7c7b7b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5c7c7b7b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5c7c7b7b

Branch: refs/heads/branch-2
Commit: 5c7c7b7b7463aafe97cdad0b6708c909220522bf
Parents: cea8213
Author: Allen Wittenauer <a...@apache.org>
Authored: Mon May 11 11:53:54 2015 -0700
Committer: Allen Wittenauer <a...@apache.org>
Committed: Mon May 11 11:54:21 2015 -0700

----------------------------------------------------------------------
 dev-support/test-patch.sh                       | 4 ++++
 hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5c7c7b7b/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index ad3d22c..ccadfb7 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -581,6 +581,7 @@ function hadoop_usage
   echo "--debug                If set, then output some extra stuff to stderr"
   echo "--dirty-workspace      Allow the local git workspace to have 
uncommitted changes"
   echo "--findbugs-home=<path> Findbugs home directory (default FINDBUGS_HOME 
environment variable)"
+  echo "--issue-re=<expr>      Bash regular expression to use when trying to 
find a jira ref in the patch name (default 
'^(HADOOP|YARN|MAPREDUCE|HDFS)-[0-9]+$')"
   echo "--modulelist=<list>    Specify additional modules to test (comma 
delimited)"
   echo "--offline              Avoid connecting to the Internet"
   echo "--patch-dir=<dir>      The directory for working and output files 
(default '/tmp/${PROJECT_NAME}-test-patch/pid')"
@@ -668,6 +669,9 @@ function parse_args
         hadoop_usage
         exit 0
       ;;
+      --issue-re=*)
+        ISSUE_RE=${i#*=}
+      ;;
       --java-home)
         JAVA_HOME=${i#*=}
       ;;

http://git-wip-us.apache.org/repos/asf/hadoop/blob/5c7c7b7b/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 801db1e..8b5adea 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -89,6 +89,9 @@ Release 2.8.0 - UNRELEASED
     HADOOP-11950. Add cli option to test-patch to set the project-under-test
     (Sean Busbey via aw)
 
+    HADOOP-11948. test-patch's issue matching regex should be configurable.
+    (Sean Busbey via aw)
+
   OPTIMIZATIONS
 
     HADOOP-11785. Reduce the number of listStatus operation in distcp

Reply via email to