-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Cannot install from Azure DevOps repository #16
Comments
Hello
The reason for using the native git wrapper is due to the allowable malleability with go-git where we have easy access to all commands, file storage, with an effective implementation, today this process uses basic features to management storage, we have future plans to optimize this storage, improvement in cache control, better compression of the repository data and some others that are in viability validation. |
Hi @snakeice, It is still not working. Given the (redacted) URL for a library repository I used Problems found:
So, what about if boss is modified to have a global flag, where the user can choose to use the go-git or use the local git client via os/exec? From your last comment, it's my understanding that the reason to use go-git is to improve performance, but would be nice (in my case essential) to let users choose over performance or improved compatibility. At my work place the build server stores Azure credentials in the Windows Credential Manager, and to the best of my knowledge only the standard git client for Windows is able to access such credentials. My experience with golang is limited, but I'm willing to help with the option to use the local git client. |
Hello, we working to temporarily use, on failure case using go-git, the native git client. (until finish correction of go-git). This week we intend to finish the process ^^ We want for help in implementation \m/ |
Great! Please let me know how I can help with the code. |
Can you try v3.0.0-alpha4?
For use a native git client need execute Enter in Slack to talk over development. |
Hi @snakeice , I'll test it. Can you please re-send the Slack link. The one to sent has expired. |
Ohh i changed link, new is http://bit.ly/hashload-slack |
Hi,
I'm unable to install a dependency hosted on a private Azure DevOps git repository.
I tracked down the problem to two places:
On the file models\dep.go, the function GetURL appends ".git" to the URL. This creates an invalid URL for Azure DevOps.
My login credentials are stored on the git credential store, but it appears that the go-git library is not able to use it.
I'm new to golang, but was thinking about modifying boss code myself and create a pull request. For the first problem, I would modify the GetURL function to not append ".git" and always use the URL supplied on the command line. For the second problem I would call the local git client (using os/exec) instead of using the go-git library.
The text was updated successfully, but these errors were encountered: