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

allow value to allow all licenses #33

Open
silverwind opened this issue Dec 23, 2020 · 5 comments
Open

allow value to allow all licenses #33

silverwind opened this issue Dec 23, 2020 · 5 comments

Comments

@silverwind
Copy link

silverwind commented Dec 23, 2020

Is there a value for allow that would accept all licenses? I use this module to generate the output file and I don't really care about the actual licenses or their verification.

I'd suggest accepting a "all" or "any" value that would skip over the entire "checking" step of this module.

@silverwind silverwind changed the title allow value to allow all licenses? allow value to allow all licenses Dec 23, 2020
@unindented
Copy link
Contributor

This package supports any valid SPDX expression. It uses spdx-satisfies under the hood. If you find an expression that works with spdx-satisfies, it'll work here too.

@silverwind
Copy link
Author

Yeah I search already and my impression is that the SPDX syntax has no such expression, it only supports explicitely named licenses with combinators.

@unindented
Copy link
Contributor

@silverwind I'm open to accepting a PR that adds this feature.

@silverwind
Copy link
Author

Will take a look later. Do you have a preference for either "all" or "any"?

@unindented
Copy link
Contributor

Let's use any.

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

2 participants