-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed as not planned
Labels
C-bugCategory: bugCategory: bugCommand-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
When running cargo publish --dry-run it doesn't perform all checks, as it says in the documentation. Namely it doesn't check that certain metadata fields such as license or license-file, description, homepage, repository and readme.
Steps
create a blank cargo project (cargo new foo)
login to crates.io (cargo login)
cargo publish --dry-run --allow-dirty (this should succeed)
cargo publish --allow-dirty (this will fail)
Possible Solution(s)
check for this metadata in the dry-release
Notes
would happy to implement this
Version
cargo 1.79.0 (ffa9cf99a 2024-06-03)
release: 1.79.0
commit-hash: ffa9cf99a594e59032757403d4c780b46dc2c43a
commit-date: 2024-06-03
host: aarch64-apple-darwin
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.6.0 (sys:0.4.72+curl-8.6.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w 11 Sep 2023
os: Mac OS 14.5.0 [64-bit]
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bugCommand-publishS-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.