Closed rerdavies closed 3 years ago
Right... This "and/or" output from licensecheck is troublesome although I understand why licensecheck cannot decide whether a "or" or a "and" should be used.
This problem is made worse because licensecheck takes a lot of time to parse files. I guess a cache would really improve this problem (A cache using a md5 key of the file content could be quite useful)
What I can do:
What do you think ?
@rerdavies What version of libconfig-model-dpkg-perl are you using ?
@rerdavies and which debian package triggered this bug ? So I can reproduce this bug.
Adding a cache to licensecheck requires launching this command for each scanned file. The performance is disappointing. So the cache cannot be implemented in cme
A fix for a crash related to and/or
was released with libconfig-model-dpkg-perl 2.152.
Offending value: 'Please fill license CC-BY-SA-4.0 and/or ISC from header of react/node_modules/glob/' Error: Data extracted from source file is corrupted: Configuration item 'Files:"react/node_modules/glob/" License short_name' has a wrong value: value 'CC-BY-SA-4.0 and/or ISC' does not match grammar from model
Particularly paitful because it takes about 15 minutes to run. So I have to override the license, and wait 15 minutes to get the next error caused by a dual-licensed package.