mirror of https://github.com/ARMmbed/mbed-os.git
Add function "has_binary_license" to check if a file has a non-permissive license contains one. PBL is not recognized by scancode, causing it to be flagged as a non-permissive license. CI doesn't allow any non-permissive licenses, although, files flageed as SPDX are allowed. Workaround causes all files with a valid PBL to be flagged as missing an SPDX. Add condition in "has_spdx_text_in_scancode_output" to ignore any spdx identifier with "unknown" in the name. Scancode erroneously matches PBL to matched_rule.identifer "spdx-license-identifier: unknown-spdx". This prevents the workaround from working. |
||
---|---|---|
.. | ||
doxy-spellchecker | ||
scancode_test | ||
functions.sh | ||
scancode-evaluate.py | ||
scancode_evaluate_test.py |