-
Notifications
You must be signed in to change notification settings - Fork 1.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
clippy::cargo_common_metadata: check for license-file #4518
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imp
force-pushed
the
4517_license-file
branch
from
September 7, 2019 08:17
abc0b87
to
1d2524a
Compare
imp
changed the title
clippy::common-cargo-metadata: check for license-file
clippy::cargo_common_metadata: check for license-file
Sep 7, 2019
imp
force-pushed
the
4517_license-file
branch
2 times, most recently
from
September 7, 2019 09:43
0b389d1
to
ccef83c
Compare
JohnTitor
added
the
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties
label
Sep 7, 2019
imp
force-pushed
the
4517_license-file
branch
from
September 8, 2019 05:36
ccef83c
to
373d6b0
Compare
Looks like build fails victim to rust-lang/rust#64231 |
imp
force-pushed
the
4517_license-file
branch
from
September 11, 2019 07:40
373d6b0
to
137a762
Compare
imp
force-pushed
the
4517_license-file
branch
2 times, most recently
from
September 21, 2019 11:28
eb6200c
to
bcf9e12
Compare
When license property is missing in Cargo.toml check for license-file as it may be used instead of the former. The check implemented here is very naive as it only verifies that the field is present and is not empty. More scrutiny can be applied by verifying the file is actually present. Fixes rust-lang#4517
imp
force-pushed
the
4517_license-file
branch
from
September 22, 2019 07:49
bcf9e12
to
4c881d1
Compare
@bors r+ thanks! |
📌 Commit 4c881d1 has been approved by |
bors
added a commit
that referenced
this pull request
Sep 22, 2019
clippy::cargo_common_metadata: check for license-file When license property is missing in Cargo.toml check for license-file as it may be used instead of the former. The check implemented here is very naive as it only verifies that the field is present and is not empty. More scrutiny can be applied by verifying the file is actually present. Fixes #4517 changelog: clippy::cargo_common_metadata now checks for license-file when license is missing
☀️ Test successful - checks-travis, status-appveyor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When license property is missing in Cargo.toml check for license-file
as it may be used instead of the former. The check implemented here is
very naive as it only verifies that the field is present and is not
empty. More scrutiny can be applied by verifying the file is actually
present.
Fixes #4517
changelog: clippy::cargo_common_metadata now checks for license-file when license is missing