-
Notifications
You must be signed in to change notification settings - Fork 389
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
Automatic CLI fallback #600
Comments
any update?... |
If anyone wants to take a crack at this, let's build a list of things to be done.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libgit2 is known for having issues with some authentication methods and SSH URLs. The common solution to this is to use git CLI as a fallback.
Currently every user of the git2 crate has to implement the fallback themselves. There are over 500 crates that use git2, so for users who need a better auth, it's a whack-a-mole of crates that aren't quite working.
I suggest adding the fallback to the git2 crate itself, so that all downstream users are automatically improved. The fallback could be controlled via env variable, so users who need the fallback could enable it once for all Rust crates.
The text was updated successfully, but these errors were encountered: