Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale license IDs may be used #252

Open
goneall opened this issue Dec 18, 2024 · 0 comments
Open

Stale license IDs may be used #252

goneall opened this issue Dec 18, 2024 · 0 comments

Comments

@goneall
Copy link
Member

goneall commented Dec 18, 2024

From looking at the code, it looks like we are using a hard coded list of license IDs.

Since we add new ones every three months, we should either update these every few months, or parse the SPDX licenses JSON file and SPDX exceptions JSON file for the latest.

In the Java library, we have options and cached versions of the files in case we don't have network access.

Another possibility is to use the go-spdx library which seems to update the license list every three months.

Note related issue #158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant