You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: documentation to bulk accept OSI/FSF licenses leads to error when applied, and absence of working documentation to bulkd accept OSI/FSF licenses #696
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
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 generated deny.toml