We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When parsing the full github url which can point to branch and the using urls the tree/branch name should not be part of ssh and git urls.
urls
tree/branch
>>> from giturlparse import parse >>> p=parse("https://example.com/user/repo/tree/branch") >>> p.urls {'https': 'https://example.com/user/repo/tree/branch.git', 'ssh': '[email protected]:user/repo/tree/branch.git', 'git': 'git://example.com/user/repo/tree/branch.git'}
[email protected]:user/repo.git git://example.com/user/repo.git
I do not know whether it is possible to specify branch in this notation at all.
[email protected]:user/repo/tree/branch.git is invalid git://example.com/user/repo/tree/branch.git is invalid
I do realize this is not exactly the right "git url". The input type should probably be github_web or something.
github_web
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When parsing the full github url which can point to branch and the using
urls
thetree/branch
name should not be part of ssh and git urls.Steps to reproduce
Versions
Expected behaviour
[email protected]:user/repo.git
git://example.com/user/repo.git
I do not know whether it is possible to specify branch in this notation at all.
Actual behaviour
[email protected]:user/repo/tree/branch.git is invalid
git://example.com/user/repo/tree/branch.git is invalid
Additional information
I do realize this is not exactly the right "git url". The input type should probably be
github_web
or something.The text was updated successfully, but these errors were encountered: