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
move away from go-git #10091
Comments
+1 to this. |
The reason for using go-git instead of the git binary is that the git binary was being installed using a package manager and therefore requiring a fat base image. Can we install the git binary without a fat base image? I.e. standalone/statically linked binary. We would have a properly tested and supported git, without the downsides. I think we could just have another https://stackoverflow.com/questions/11570188/how-to-build-git-with-static-linking |
I am working on this. Update :
|
Thanks. Assigned to you. |
go-git is back to maintenance and active for a couple of months already so we should contribute any changes back to upstream and switch back to upstream go-git: https://github.com/go-git/go-git Another motivation to switch back to upstream: #11091 (comment) See project status update: https://github.com/go-git/go-git#project-status |
Signed-off-by: weafscast <weafscast@proton.me>
Signed-off-by: weafscast <weafscast@proton.me>
One user mentioned another upstream bug go-git/go-git#511 |
Summary
We changed the git library in v3.4 to go-git which seems to have a lot of bugs and also is not actively maintained, the last release created for this project was on June 2, 2021, which was more than an year ago. Currently we are maintaining our own fork of go-git at argoproj-labs/go-git. There's a similar package git2go which has go bindings for libgit2 and is also actively maintained and being used widely. Should we consider migrating to that package?
Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: