-
Notifications
You must be signed in to change notification settings - Fork 153
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
SSH support #333
Comments
hey @msfjarvis, thanks for opening the issue, can you confirm #334 fixes the issue? |
It does! |
334: [fetch] use cli git for fetching crates.io index r=ordian a=ordian Fixes #333. Cargo has a fair amount of code for git authentication handling ([link](https://github.com/rust-lang/cargo/blob/57986eac7157261c33f0123bade7ccd20f15200f/src/cargo/sources/git/utils.rs#L410-L624)), but still has a cli fallback ([link](https://github.com/rust-lang/cargo/blob/57986eac7157261c33f0123bade7ccd20f15200f/src/cargo/sources/git/utils.rs#L704-L714)). See rust-lang/cargo#2078 for details on all the arguments passed to git. Co-authored-by: Andronik Ordian <[email protected]>
334: [fetch] use cli git for fetching crates.io index r=ordian a=ordian Fixes #333. Cargo has a fair amount of code for git authentication handling ([link](https://github.com/rust-lang/cargo/blob/57986eac7157261c33f0123bade7ccd20f15200f/src/cargo/sources/git/utils.rs#L410-L624)), but still has a cli fallback ([link](https://github.com/rust-lang/cargo/blob/57986eac7157261c33f0123bade7ccd20f15200f/src/cargo/sources/git/utils.rs#L704-L714)). See rust-lang/cargo#2078 for details on all the arguments passed to git. Co-authored-by: Andronik Ordian <[email protected]>
Hi, I'm not by any means a Rust expert, and I'm getting the same error
I tried to create [net]
git-fetch-with-cli = true # use the `git` executable for git operations but doesn't seem to be working. Can you please help? I do have the following in my
And commenting that out makes |
Ah OK @ordian , thank you for the reply, I'll follow that issue then to see the progress |
I use the following snippet in my
~/.gitconfig
file to force all GitHub connections to use authenticated SSH.This causes
cargo-edit
to break in the following fashion.This particular problem does not affect
cargo
itself, but I presume that is related to its usage or crates.io directly. Is there a way to resolve my particular use-case in this crate or I should I continue commenting out myforce-ssh-for-github
snippet everytime I usecargo-edit
?The text was updated successfully, but these errors were encountered: