-
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
cargo package
includes multiple README files when the case is not all upper-case
#14020
Comments
has there been any work done on this yet? would it be viable to revert #10548 if that is indeed the root cause of this bug? |
we would like to turn the server-side validation for duplicate files back on to prevent potential security issues. that is admittedly unlikely to be relevant for the readme, but might be an issue for code modules depending on the system. e.g. it would be bad if for example docs.rs showed different sources than what is actually getting compiled in because of casing conflicts. |
to some degree yes, though this one here is apparently what is commonly happening in production from what I've seen so far |
This bug also happens if there is I cannot reproduce this on linux but I can reproduce this on darwin. |
Problem
If a package has a
Readme.md
file (and no readme field inCargo.toml
), it will end up with two readme files in the package.This regressed in rust-lang/rust#96031 (rust 1.62.0). I'm not sure which of those is responsible.
Steps
cargo new foo
cd foo
touch Readme.md
cargo package --list --allow-dirty
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: