Skip to content
Snippets Groups Projects
Commit 86d25f0d authored by Pablo Correa Gomez's avatar Pablo Correa Gomez Committed by Pablo Correa Gomez
Browse files

mrhlpr: add support for GNOME SSH origin (MR 54)

GNOME's SSH endpoints areof the form
git@ssh.gitlab.gnome.org:GNOME/Incubator/papers.git and without this
patch, the host could not be found
parent aabdf0d0
No related branches found
No related tags found
1 merge request!54mrhlpr: add support for GNOME SSH origin
Pipeline #208784 passed
......@@ -146,7 +146,7 @@ def parse_git_origin() -> GitLabOrigin:
]
for domain in domains:
prefixes = [
r"^git@" + domain.replace(".", "\\.") + ":",
r"^git@(ssh\.)?" + domain.replace(".", "\\.") + ":",
r"^https:\/\/(?:[^\s\@\/]*@)?" + domain.replace(".", "\\.") + "\\/",
]
host = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment