allegroai/clearml-agent

shh to http conversion fails with dev.azure

mads-oestergaard opened this issue · 2 comments

Converting from ssh to http fails for azure projects.

Using user/pass credentials - replacing ssh url 'git@ssh.dev.azure.com:v3/org/team/project' with https url 'https://ssh.dev.azure.com/v3/org/team/project'
fatal: repository 'https://ssh.dev.azure.com/v3/org/team/project' not found

The repository should be https://dev.azure.com/org/team/_git/project

I would like to look at this. Any pointers as to where I start?

Hi @mads-oestergaard , this is handled in the agent code, in the def _set_ssh_url(self) function I think - look for it and see if it makes sense

@jkhenning just made a PR which should fix it.