-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Feature: Batch installation #175
Comments
Don't really need a flag for it, let's just support multiple crate names like For the versions, we should use whatever syntax |
But how do we habdle --version flag? |
Make it a conflict with multiple arguments, like
Similarly we'll need an exclusion for Eventually we could deprecate the Cargo install tries to apply the same version to both crates, which is certainly a choice but I don't think makes much sense:
|
What about:
Should we just quit when |
That seems the most sensible. Like, yes, we could try to interpret it as |
Another thing I worry about is the confirmation step. Currently, |
If we fetch everything we need upfront, we can present a single confirmation step for everything needed, I think. Then it's two highly parallel sequences (before confirm, after confirm), which also streamlines the UX. We lose the last confirm before writing the files, but I don't know that that's really necessary tbh. With the crates metadata we should already have the list of files we want to write, and we can even read the local upfront to see what we would overwrite. |
On CI, it is often desirable to install all binaries it depended on at once ASAP.
Currently,
cargo-binstall
has to be invoked multiple times for multiple binaries, which is sequential and wastes time doing repeated works like pulling from https://crates.io .I propose a new interface for batch installation:
The text was updated successfully, but these errors were encountered: