EmbarkStudios / cargo-deny

❌ Cargo plugin for linting your dependencies 🦀

Home Page:http://embark.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

embedded SPDX license list data (compressed askalono blob) outdated

decathorpe opened this issue · comments

It appears that the binary blob that contains the SPDX license list data (from https://github.com/spdx/license-list-data ) is very old and has not been updated since it was initially added four years ago.

The SPDX license list data is regularly updated, and especially over the past year, many new licenses have been added due to the ongoing work of re-reviewing all licenses of packages in Fedora Linux and migrating them to SPDX license expressions.

Additionally, askalono documentation states that the on-disk format of this compressed blob is not infinitely forward-compatible, and should have been generated by a version of askalono that is similar to the one that is used to load it.

Regenerating that zstd-compressed file for new SPDX license list data (for example, for the latest version v3.22) is quite straightforward:

git clone https://github.com/spdx/license-list-data.git spdx-license-list -b v3.22 --depth 1
askalono cache load-spdx spdx-license-list/json/details

Thanks!