-
Notifications
You must be signed in to change notification settings - Fork 376
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
Inconsistent behaviour of --experimental-licenses
#671
Comments
CC @another-rex |
Ah actually, I think the ambiguity from the first example above comes from If it's not possible to reliably distinguish between Alternatively, to be consistent with our i.e.
@josieang @another-rex WDYT? |
I remember this now, and I totally should have flagged it. I couldn't get I'm all for consistency, so if Thanks for looking into this Oliver! |
Thanks @josieang ! Getting |
Rex and I talked about this and we've decided to introduce We also went through some edge cases: We should also verify the list of spdx licenses that they provide against https://spdx.org/licenses/. That will at least make it error in the case of |
I will try send out a PR for it this week. |
Thanks Josie! |
Fixed in #678 |
The table output for
--experimental-licenses
has inconsistent behaviour:--experimental-licenses
The expected behaviour here seems to the same as
--expeirmental-licenses=""
? EDIT: this seems like it's just ambiguity with flag parsing per #671 (comment).--experimental-licenses=""
The exit codes also seem wrong here (it should be 0)?
license_violations
included in JSON with --experimental-licenses=""@josieang could you please take a look?
The text was updated successfully, but these errors were encountered: