You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
OS version and name: MAC OS
**Poetry version : 1.0.0
Issue
Add git dependencies with https to URLs that differ from the URL format used by github does not work. I am using gitlab. The URL structure is like https://gitlab.something.io/f1/f2/my-repo.git. If I try to add that using
which certainly does not work because of the leading git+. From playing around, I think github URLS look like https://main-url/username/my-repo.git. The regex parser seems to expect something like that. However, gitlab can have several layers after the main URL until the actual repo name. This is not parsed correctly. Hence, I cannot add the repo using https. With ssh, everything works like a charm.
The text was updated successfully, but these errors were encountered:
[ x] I am on the latest Poetry version.
[ x] I have searched the issues of this repo and believe that this is not a duplicate.
[ x] If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: MAC OS
**Poetry version : 1.0.0
Issue
Add git dependencies with https to URLs that differ from the URL format used by github does not work. I am using gitlab. The URL structure is like https://gitlab.something.io/f1/f2/my-repo.git. If I try to add that using
The URL is parsed incorrectly or rather not at all. This results in poetry executing
which certainly does not work because of the leading git+. From playing around, I think github URLS look like https://main-url/username/my-repo.git. The regex parser seems to expect something like that. However, gitlab can have several layers after the main URL until the actual repo name. This is not parsed correctly. Hence, I cannot add the repo using https. With ssh, everything works like a charm.
The text was updated successfully, but these errors were encountered: