scancode.io icon indicating copy to clipboard operation
scancode.io copied to clipboard

License policy alert should be shown on empty license

Open AyanSinhaMahapatra opened this issue 1 year ago • 3 comments

Currently we don't show a license policy alert if a resource or a package has empty license, and this should show a warning instead.

AyanSinhaMahapatra avatar Nov 01 '23 16:11 AyanSinhaMahapatra

@AyanSinhaMahapatra I don't think it's a good idea to break the previous behavior like this. Instead, the empty license compliance alert should be driven by the license policy conf.

tdruez avatar Nov 03 '23 15:11 tdruez

@AyanSinhaMahapatra To add to the comments from @tdruez I think that an empty license condition should normally detect the no-license license

https://scancode-licensedb.aboutcode.org/no-license.html

and ideally that "license" should be configured with the compliance alert in the license policy.

DennisClark avatar Nov 03 '23 17:11 DennisClark

We should design this differently the lack of license is more than a policy problem... this is rather a problem of todo/review instead.

pombredanne avatar Feb 26 '24 14:02 pombredanne