Bug: documentation to bulk accept OSI/FSF licenses leads to error when applied, and absence of working documentation to bulkd accept OSI/FSF licenses
Describe the bug
In the past (~v0.14) there was a key allow-osi-fsf-free = "either" which would accept all OSI/FSF licenses by default. Which seems to be an excellent default, or at least something that should be easy to define for a user
The current documentation website mentions the use of allow-osi-fsf-free
If the license is OSI Approved or FSF Free/Libre, the [licenses.allow-osi-fsf-free] configuration determines its status, if it is neither the check continues
But if I try to use allow-osi-fsf-free I get an error when running cargo deny check
[licenses]
allow-osi-fsf-free = "both"
cargo deny check
error[deprecated]: this key has been removed, see https://github.com/EmbarkStudios/cargo-deny/pull/611 for migration information
┌─ curies.rs/deny.toml:91:1
│
91 │ allow-osi-fsf-free = "both"
│ ━━━━━━━━━━━━━━━━━━
Moreover the allow-osi-fsf-free key has disappeared from the comment in the deny.toml generated by cago deny init, which seems to indicate that it is not supported anymore and that the documentation website is not up-to-date
Overall from the current documentation it is not clear how to bulk accept OSI/FSF licenses (I hope the feature has not disappeared! It is such a basic and useful feature), where can we find those instructions?
Thanks
To reproduce
- Install the latest version of cargo-deny
v0.16.1 -
cargo deny init - Add
allow-osi-fsf-free = "both"to the generateddeny.toml - Run
cargo deny check> error
cargo-deny version
0.16.1
What OS were you running cargo-deny on?
Linux
Additional context
No response