metron-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickal...@apache.org
Subject [metron] branch master updated: METRON-1954 Commit Script Fails to Extract Usernames with Numerals (nickwallen) closes apache/metron#1313
Date Sun, 23 Dec 2018 20:25:38 GMT
This is an automated email from the ASF dual-hosted git repository.

nickallen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/metron.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c1171f  METRON-1954 Commit Script Fails to Extract Usernames with Numerals (nickwallen)
closes apache/metron#1313
8c1171f is described below

commit 8c1171fa5bcc1c4a015d9160b626f452c1533330
Author: nickwallen <nick@nickallen.org>
AuthorDate: Sun Dec 23 15:21:36 2018 -0500

    METRON-1954 Commit Script Fails to Extract Usernames with Numerals (nickwallen) closes
apache/metron#1313
---
 dev-utilities/committer-utils/metron-committer-common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-utilities/committer-utils/metron-committer-common b/dev-utilities/committer-utils/metron-committer-common
index 23ec4e9..30a9bfd 100644
--- a/dev-utilities/committer-utils/metron-committer-common
+++ b/dev-utilities/committer-utils/metron-committer-common
@@ -239,7 +239,7 @@ function setup_code {
 #
 function get_contributor_info {
     # use github api to retrieve the contributor's login
-    USER=`curl -s https://api.github.com/repos/apache/${CHOSEN_REPO}/pulls/${PR} | grep login
| head -1 | awk -F":" '{print $2}' | sed 's/[^a-zA-Z.@_-]//g'`
+    USER=`curl -s https://api.github.com/repos/apache/${CHOSEN_REPO}/pulls/${PR} | grep login
| head -1 | awk -F":" '{print $2}' | sed 's/[^a-zA-Z0-9.@_-]//g'`
     read -p "  github contributor's username [$USER]: " INPUT
     [ -n "$INPUT" ] && USER=${INPUT}
 


Mime
View raw message