From 51f736dc4dfbe27403b3f32ebafdc897c90a30ee Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Wed, 5 Aug 2020 08:52:34 -0500 Subject: [PATCH] repo_check.py: match https repositories (#483) --- bin/repo_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repo_check.py b/bin/repo_check.py index d2f0a6352..9bf5c597c 100644 --- a/bin/repo_check.py +++ b/bin/repo_check.py @@ -20,7 +20,7 @@ # 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}/'