-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Will Cargo prompt for username & password when fetching Git repo? #1306
Comments
Currently, no, but as you found in #1308 it is easy enough from a libgit2 perspective, this is just blocked on us having a method of accepting input on a terminal without echoing typing. |
Note that |
Okay.
It will require Git to store password, though ( I heard from @retep998 that it's easy for Windows to support hiding password, so I tried to add Windows support for rpassword, but I think Cargo.toml cannot handle negative dependency as Rust do so I am afraid it will be invalid approach as long as termios cannot build on Windows. Maybe we could modify termios and make it contain nothing for unsupported platform, just like what rust-cocoa do. cc @conradkleinespel @dcuddeback |
@bombless Thanks for mentioning |
I have made a Windows implementation for |
As there hasn't been any activity here in a while would someone (the author, a team member, or any interested party) be able to summarise the current state, perhaps making explicit:
Thank you! (The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.) If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information! |
It seems that Cargo can only use
.gitconfig
for username & password when they are needed to fetch a dependency from Git repo.To repeat, make a fresh crate and make a dependency to my repo:
Cargo version
cargo 0.0.1-pre-nightly (9404539 2015-02-09 20:54:26 +0000)
The text was updated successfully, but these errors were encountered: