-
Notifications
You must be signed in to change notification settings - Fork 3.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
Use cargo deny to prevent onboarding certain crates #13938
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13938 +/- ##
=======================================
Coverage 59.0% 59.0%
=======================================
Files 821 821
Lines 198127 198127
=======================================
Hits 117008 117008
Misses 81119 81119 ☔ View full report in Codecov by Sentry. |
f02984e
to
b5fb4d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @banool 😄
@@ -2,7 +2,7 @@ | |||
name = "aptos-abstract-gas-usage" | |||
version = "0.1.0" | |||
edition = "2021" | |||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |||
license = { workspace = true } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Silly question: why do we need to add this entry to some toml files, but not others? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe all the other ones have license
already and just these ones were missing it and therefore unlicensed according to the tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aah, nice, didn't realize they were all missing the workspace keys, e.g.,
# Workspace inherited keys
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
publish = { workspace = true }
repository = { workspace = true }
rust-version = { workspace = true }
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
✅ Forge suite
|
Description
Internal context: https://aptos-org.slack.com/archives/C03K45JU90C/p1720451868050819.
Type of Change
Which Components or Systems Does This Change Impact?
How Has This Been Tested?
CI is expected to fail until @grao1991 lands his PR. See thread in summary for more context. Once that is done, see that the new CI passes.
Update: CI passes now that that PR has been landed. Let's land.
Key Areas to Review
Confirm that deny.toml is configured appropriately.
Checklist