furl icon indicating copy to clipboard operation
furl copied to clipboard

Removes "git@" from git remote URL

Open dev-rinchin opened this issue 2 years ago • 1 comments

Hi, ClearML uses furl to remove a user from a git remote URL, so furl removes username when the remote URL is like "ssh://[email protected]:1234/path/to/repo.git" (with "ssh://git@"):

should I use more specific lib/tool to parse git-like URLs?

dev-rinchin avatar Nov 07 '22 12:11 dev-rinchin

To preserve git@, username needs to be set to False.

I believe the second case is the correct behavior, its just that the first example is missing the scheme so that the parser thinks [email protected] is the scheme which is obviously incorrect.

qxeq avatar Jan 02 '24 03:01 qxeq