-
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
Better support for license-file. #7905
Conversation
r? @Eh2406 (rust_highfive has picked a reviewer for you, use r? to override) |
942f4c7
to
efed107
Compare
@bors: r+ Nice! |
📌 Commit efed107648156d6c6f76bc89c58062bddbe30c62 has been approved by |
⌛ Testing commit efed107648156d6c6f76bc89c58062bddbe30c62 with merge df18fa62b808db4f492d4a1665e91c6334d1215c... |
💔 Test failed - checks-azure |
☔ The latest upstream changes (presumably #7820) made this pull request unmergeable. Please resolve the merge conflicts. |
efed107
to
9088770
Compare
@bors retry |
@bors retry |
@bors r=alexcrichton |
📌 Commit 9088770 has been approved by |
☀️ Test successful - checks-azure |
Update cargo 11 commits in e02974078a692d7484f510eaec0e88d1b6cc0203..e57bd02999c9f40d52116e0beca7d1dccb0643de 2020-02-18 15:24:43 +0000 to 2020-02-21 20:20:10 +0000 - fix most remaining clippy findings (mostly redundant imports) (rust-lang/cargo#7912) - Add -Zfeatures tracking issues. (rust-lang/cargo#7917) - Use rust-lang/rust linkchecker on CI. (rust-lang/cargo#7913) - Clean up code mostly based on clippy suggestions (rust-lang/cargo#7911) - Add an option to include crate versions to the generated docs (rust-lang/cargo#7903) - Better support for license-file. (rust-lang/cargo#7905) - Add new feature resolver. (rust-lang/cargo#7820) - Switch azure to macOS 10.15. (rust-lang/cargo#7906) - Modified the help information of cargo-rustc (rust-lang/cargo#7892) - Update for nightly rustfmt. (rust-lang/cargo#7904) - Support `--config path_to_config.toml` cli syntax. (rust-lang/cargo#7901)
Allow `cargo package --list` even for things that don't package. `cargo package --list` was changed in #7905 to generate `Cargo.lock` earlier. If there is a problem, then it would fail where previously it would succeed. This changes it so that file generation is deferred until after `--list`. This also changes it so that the "dependencies must have a version" check is deferred until after `--list` as well. Closes #8151
Allow `cargo package --list` even for things that don't package. `cargo package --list` was changed in rust-lang#7905 to generate `Cargo.lock` earlier. If there is a problem, then it would fail where previously it would succeed. This changes it so that file generation is deferred until after `--list`. This also changes it so that the "dependencies must have a version" check is deferred until after `--list` as well. Closes rust-lang#8151
This adds some changes to how
cargo package
andcargo publish
handle thelicense-file
field. This also incorporates some refactoring which hopefully makes the code a little clearer and straightforward, but which also resulted in some minor behavior changes.package.include
list (similar to how Cargo.toml/lock are automatically included).Archiving: Cargo.toml.orig
is explicitly printed where before it did not report that.cargo package --list
now showsCargo.toml.orig
where before it was not reported.Closes #3537
Closes #7830