-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
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
Azure DevOps not able fetch code from Git repo #213
Comments
Ref May Help: argoproj/argo-cd#1067, issue mostly with go-git library |
It looks like this is a direct result of the issue in the go-git library. src-d/go-git#1058 |
Any plans to address this issue with the product? It prevents the adoption of the product by any customer users of Azure DevOps repositories. |
new issue: go-git/go-git#64 |
Any update on this, when it will be fixed? Our partner/customer is getting impacted with this. |
@rajivmca2004 I have created a PR go-git/go-git#200 with a fix that would make it work for Azure DevOps. |
@phillebaba Thank you for letting us know and for your hard work on that PR! |
hi, i just wanted to mention that @phillebaba enabled in the GitOps Toolkit the git2go library as an alternative. This approach could be useful here too? |
Yep so our solution after a failed attempt at adding multi_ack support to go-git was to switch over to git2go. It is probably the only other proper git client for golang. After spending some time with reading git wire protocol specs I can say that fully implementing multi_ack and multi_ack_detailed is not an easy job in go-git and would require someone who could work on it full time for some weeks. This makes implementing it in go-git improbable. Saying that, git2go does have its limitations as well that I found along the way. Hopefully this would help you guys when choosing if it is right for you to switch.
|
Thanks for the summary @phillebaba. We will look at git2go. The shallow cloning/ssh key validation might be a bit of a hurdle for us. We will need to investigate. |
Using Azure DevOps private registry,
Authorisation is successful but
While building Image getting bellow error
PS C:\Test\kpack\kpack-ms> .\logs.exe -image sample-image
prepare:main.go:78: unable to fetch git repository: unexpected client error: unexpected requesting "https://private-test.visualstudio.com/PROJECT/_git/test-sb-kp-ms/git-upload-pack" status code: 400
The text was updated successfully, but these errors were encountered: