[[licenses.clarify]]
: license-files
can't contain files that don't start with LICENSE
#524
Labels
bug
Something isn't working
I am trying to add two license files to a
[[licenses.clarify]]
: one namedLICENSE-FOO
(describing the base license), and one namedCOPYING
(describing how the base license applies to the project). The former file can be found and pinned, but the latter cannot.The problem is that the
license-files
in each clarification are not directly searched for, but instead checked against the list of discovered license files, obtained fromLicensePack::read
, which filters out any file that doesn't start withLICENSE
:cargo-deny/src/licenses/gather.rs
Lines 533 to 556 in 9ca5722
cargo-deny/src/licenses/gather.rs
Lines 139 to 143 in 9ca5722
cargo-deny/src/licenses/gather.rs
Lines 50 to 54 in 9ca5722
The text was updated successfully, but these errors were encountered: