-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Separate licenses with a /
instead of OR
#5074
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @matklad (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@bors: r+ |
📌 Commit 1ddba76 has been approved by |
Separate licenses with a `/` instead of ` OR ` It's what we tell others to do. https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata > ```toml > # This is a string description of the license for this package. Currently > # crates.io will validate the license provided against a whitelist of known > # license identifiers from http://spdx.org/licenses/. Multiple licenses can be > # separated with a `/`. > license = "..." > ``` Noted [here](TeXitoi/structopt#71 (comment)). This should either use `/` or a note should be added that ` OR ` is allowed as a combination operator.
☀️ Test successful - status-appveyor, status-travis |
I think this is the opposite of what others have been transitioning towards. #4898 explicitly marked / as being deprecated. |
I think we want to revert this change and return to the SPDX-specified
There's some discussion of warning in #2039. And yeah, license-exprs would need to grow an API that allowed reporting warnings (slightly more on that around here). license-exprs seems to still be stuck in a maintainer transition though (ehuss/license-exprs#12), so it may be a while before it grows such an API. |
Aaaaand switching this back to OR in #5080 :) |
My bad, mayhaps update the documentation in prod :) |
It's what we tell others to do.
https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata
Noted here.
This should either use
/
or a note should be added thatOR
is allowed as a combination operator.