-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
It's possible to have crates.io ownership on some -- but not all -- crates in a workspace. In that case, cargo publish --workspace might publish a few crates before trying to publish one that isn't allowed and failing.
Proposed Solution
cargo publish --workspace should check that it has publish permissions on all the crates that it wants to publish before it publishes any of them. Alternatively, it should be able to publish them all at once, atomically.
Notes
No response
Metadata
Metadata
Assignees
Labels
A-interacts-with-crates.ioArea: interaction with registriesArea: interaction with registriesC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.