-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add ui_cargo_toml_metadata
test
#9216
Merged
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
rust-highfive
added
the
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties
label
Jul 20, 2022
Oh wow, the ui_cargo tests were a total mess. Thanks for fixing this and ensuring that it stays this way! @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
smoelius
added a commit
to trailofbits/dylint
that referenced
this pull request
Aug 2, 2022
Upgrade examples to `nightly-2022-07-28` and `clippy_utils` `3c7e7db` to eliminate Cargo-emitted warning. See: rust-lang/rust-clippy#9216
smoelius
added a commit
to trailofbits/dylint
that referenced
this pull request
Aug 2, 2022
Upgrade examples to `nightly-2022-07-28` and `clippy_utils` `3c7e7db` to eliminate Cargo-emitted warning. See: rust-lang/rust-clippy#9216
smoelius
added a commit
to trailofbits/dylint
that referenced
this pull request
Aug 3, 2022
Upgrade examples to `nightly-2022-07-28` and `clippy_utils` `3c7e7db` to eliminate Cargo-emitted warning. See: rust-lang/rust-clippy#9216
smoelius
added a commit
to trailofbits/dylint
that referenced
this pull request
Aug 5, 2022
Upgrade examples to `nightly-2022-07-28` and `clippy_utils` `3c7e7db` to eliminate Cargo-emitted warning. See: rust-lang/rust-clippy#9216
smoelius
added a commit
to trailofbits/dylint
that referenced
this pull request
Aug 5, 2022
Upgrade examples to `nightly-2022-07-28` and `clippy_utils` `3c7e7db` to eliminate Cargo-emitted warning. See: rust-lang/rust-clippy#9216
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.
This PR adds a test to check the metadata of packages in the
ui_cargo
directory.A recent change to Cargo causes it to warn when it finds multiple packages with the same name in a git dependency (the issue is described here).
Many (if not all) Dylint libraries depend upon
clippy_utils
. As a result of the change, one now sees the following when building a Dylint library:There appear to be two contributing factors:
ui_cargo
could have apublish = false
added to them.ui_cargo
seem to be inconsistently named.The new test checks that each package in the
ui_cargo
directory has a name matching one of its parent directories, andpublish = false
in its metadata (with a few exceptions).Note that the packages in
cargo_common_metadata
require special care becausepublish
is the subject of some of thecargo_common_metadata
tests.Also note that this PR adds
walkdir
as a dev dependency to theclippy
package. However, it was already a dependency ofclippy_dev
andlintcheck
. So hopefully this is acceptable.Our continued thanks for making
clippy_utils
available, BTW. :)r? @flip1995
changelog: none