-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
.maintain/deny.toml
Outdated
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html | ||
[bans] | ||
# Lint level for when multiple versions of the same crate are detected | ||
multiple-versions = "deny" |
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.
The paritytech/polkadot#922 was only about parity-util-mem (because it was causing issues), I don't think it's possible to get rid of duplicates for every single dependency.
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.
We wanted to introduce those checks (duplicate deps, licenses, advisories and sources) for a long time anyway.
If it's not possible to avoid the dependency duplication, then there's bans.skip
list to add them there temporarily.
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.
Please figure out how to address multiple versions of the dependency — we currently have a lot of those. Even the build log of the job is more than our Gitlab allows by default!
.maintain/deny.toml
Outdated
#"Nokia", | ||
] | ||
# Lint level for licenses considered copyleft | ||
copyleft = "deny" |
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.
This is rather strange — why deny copyleft, but then explicitly allow GPL-3.0
a few lines above?
…ncies dupes and advisories
…eny_for_substrate
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.
Looks fine to me; also — nice use of artifacts to cache the full output!
* add cargo-deny job * feat(ci): add cargo-deny CI job, checks registries, licenses, dependencies dupes and advisories
Resolves paritytech/polkadot#922
parity-util-mem <0.6