Skip to content
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

Support for cargo install-update -a --locked #273

Closed
luccahuguet opened this issue Aug 25, 2024 · 9 comments
Closed

Support for cargo install-update -a --locked #273

luccahuguet opened this issue Aug 25, 2024 · 9 comments
Labels

Comments

@luccahuguet
Copy link

I am aware of #152 and #191

but i think it would be much more user friendly allowing for direct usage of the --locked option

if implementing this is completely out of the table, we can close this issue, no problems.

@NobodyXu
Copy link

P.S. cargo-binstall does support --locked, so there shouldn't be any issue from cargo-binstall

@luccahuguet
Copy link
Author

P.S. cargo-binstall does support --locked, so there shouldn't be any issue from cargo-binstall

thank you Jiahao

I'll consider using binstall directly then

@luccahuguet
Copy link
Author

this why im using cargo-update btw

https://github.com/luccahuguet/rustifier

@nabijaczleweli
Copy link
Owner

Given that you're bypassing actual cargo-update configuration and you just want to add Some String to cargo argv, the manual prescribes CARGO_INSTALL_OPTS=--locked for this.

@nabijaczleweli
Copy link
Owner

Admittedly, this disables the cargo-binstall upcall, but then so does any config. But clearly this is something users keep wanting for.. some reason.

@nabijaczleweli
Copy link
Owner

Can you try the current master branch (at least addb658)?

@luccahuguet
Copy link
Author

Admittedly, this disables the cargo-binstall upcall, but then so does any config. But clearly this is something users keep wanting for.. some reason.

Its stronger than me

I admit it, it’s not rational

@luccahuguet
Copy link
Author

Can you try the current master branch (at least addb658)?

This looks beautiful addb658

You can check it with gitui (it breaks without --locked)

I will personally wait for the new release tho...

Thank you for listening to your users!

@nabijaczleweli
Copy link
Owner

Released in v14.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants