-
Notifications
You must be signed in to change notification settings - Fork 41
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
Replace git2 with gitoxide #82
Comments
Yes, it would be great to have it as an option. |
I'm interested in seeing this happen for However, the support for sparse registry would also fit our use case, since it removes the use of git entirely. |
I have turned the previously linked card into a tracking ticket with some analysis on the features that
|
FYI here is an implementation for providing clone/fetch/blob reading for a git registry index that can be used as an inspiration for getting started on a PR to close this issue. |
Thanks so much for sharing! I think particularly interesting could be how to get a crate from a cloned index. For the actual cloning/fetching, there might also be simpler ways as done in With that said, it's nice to see that the fetch API is powerful enough to support any case, even though I hope that over time, the common cases can be supported with tailored and neat APIs for clarity. With that said, I hope that if there is anything you would like to see improved, you will let me know :), @Jake-Shadle . |
There were definitely some issues figuring out how it works, was planning on opening some issues on your repo later. |
Crates using this (e.g. binstall) keep getting libgit2 linking errors when one updates and the other doesn't. Gitoxide is a pretty good replacement that by nature will never have this issue.
There's also other git2 related issues, but I don't know off-hand if they'd be helped by this.
Is this project interested in this? To be clear, this is a proposal to contribute this myself.
The text was updated successfully, but these errors were encountered: