git-passport
git-passport copied to clipboard
Do not use urllib to parse git URLs.
Many valid git URLs (e.g., [email protected]:Org/Private-repo.git) cannot be parsed by urllib.
See SO answer for more detail: https://stackoverflow.com/a/49345524/376497
For now, just check if git URL contains service URL.