You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@parquet.apache.org by ju...@apache.org on 2017/06/09 22:22:34 UTC

parquet-mr git commit: PARQUET-1024: allow for case insensitive parquet-xxx prefix in PR title

Repository: parquet-mr
Updated Branches:
  refs/heads/master 352b90699 -> df9f8d869


PARQUET-1024: allow for case insensitive parquet-xxx prefix in PR title

Author: Julien Le Dem <ju...@apache.org>

Closes #415 from julienledem/improve_merge and squashes the following commits:

0e34366 [Julien Le Dem] PARQUET-1024: allow for case insensitive parquet-xxx prefix in PR title


Project: http://git-wip-us.apache.org/repos/asf/parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/parquet-mr/commit/df9f8d86
Tree: http://git-wip-us.apache.org/repos/asf/parquet-mr/tree/df9f8d86
Diff: http://git-wip-us.apache.org/repos/asf/parquet-mr/diff/df9f8d86

Branch: refs/heads/master
Commit: df9f8d869fe47a116e9e78fb59ab55d84ffa13d1
Parents: 352b906
Author: Julien Le Dem <ju...@apache.org>
Authored: Fri Jun 9 15:22:31 2017 -0700
Committer: Julien Le Dem <ju...@apache.org>
Committed: Fri Jun 9 15:22:31 2017 -0700

----------------------------------------------------------------------
 dev/merge_parquet_pr.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/parquet-mr/blob/df9f8d86/dev/merge_parquet_pr.py
----------------------------------------------------------------------
diff --git a/dev/merge_parquet_pr.py b/dev/merge_parquet_pr.py
index b1896e2..3651761 100755
--- a/dev/merge_parquet_pr.py
+++ b/dev/merge_parquet_pr.py
@@ -218,9 +218,9 @@ def fix_version_from_branch(branch, versions):
         return filter(lambda x: x.name.startswith(branch_ver), versions)[-1]
 
 def exctract_jira_id(title):
-    m = re.search(r'^(PARQUET-[0-9]+)\b.*$', title)
+    m = re.search(r'^(PARQUET-[0-9]+)\b.*$', title, re.IGNORECASE)
     if m and m.groups > 0:
-        return m.group(1)
+        return m.group(1).upper()
     else:
         fail("PR title should be prefixed by a jira id \"PARQUET-XXX: ...\", found: \"%s\"" % title)