Skip to content

Commit

Permalink
repo_check.py: match https repositories (swcarpentry#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-belkin authored and fmichonneau committed Oct 13, 2020
1 parent 652f9cd commit 51f736d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/repo_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}/'
Expand Down

0 comments on commit 51f736d

Please sign in to comment.