projects
/
rnaseq-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115a735
)
repo_check.py: match https repositories (#483)
author
Maxim Belkin <maxim.belkin@gmail.com>
Wed, 5 Aug 2020 13:52:34 +0000
(08:52 -0500)
committer
GitHub <noreply@github.com>
Wed, 5 Aug 2020 13:52:34 +0000
(09:52 -0400)
bin/repo_check.py
patch
|
blob
|
history
diff --git
a/bin/repo_check.py
b/bin/repo_check.py
index d2f0a6352d92fd0c8b54bc801fd10350b946871b..9bf5c597cf1e328658cd99546fb205f61cc5552c 100644
(file)
--- a/
bin/repo_check.py
+++ b/
bin/repo_check.py
@@
-20,7
+20,7
@@
except ImportError:
# Pattern to match Git command-line output for remotes => (user name, project name).
-P_GIT_REMOTE = re.compile(r'upstream\s+
[^:]+:
([^/]+)/([^.]+)(\.git)?\s+\(fetch\)')
+P_GIT_REMOTE = re.compile(r'upstream\s+
(?:https://|git@)github.com[:/]
([^/]+)/([^.]+)(\.git)?\s+\(fetch\)')
# Repository URL format string.
F_REPO_URL = 'https://github.com/{0}/{1}/'