This message was deleted.
# general
s
This message was deleted.
b
Hi @jolly-bear-34819 Is this a public repository? If not then you will need to specify credentials as part of the https request
j
No, it's not public. I tried it with credentials now, but I still get "error: repository not found" git clone works with the same request
b
so you will need to add user:password style into your https repository - this pulumi new command doesn't use local credentials to get access to the repo
j
I think I found the problem: https://github.com/pulumi/pulumi/blob/ae91a277df04bd3a93d79cf1bf52002ec77a7f51/sdk/go/common/util/gitutil/git.go#L343 The path gets splitted according to the slashes. For Github, Gitlab, etc. this works but Azure DevOps has a slightly different syntax:
/{organization}/{project}/_git/{repository}
Pulumi tries to add
.git
to the project name instead of the repo The results will be
/{organization}/{project}.git/_git/{repository}
That's why the repository can't be found
b
ah! Can you open an issue for us so that we can look at fixing it?
(or feel free to submit a patch if you would be happy to!)
j
I can open an issue 👍
b
thanks so much! Sorry for the issue here
j