Following up on T330428: Validate SPDX licenses in foreign-resources.yaml using ForeignResourceManager/ForeignResourceStructureTest...
When playing with https://gerrit.wikimedia.org/r/c/mediawiki/core/+/955998 for T330508: Expand running of ForeignResourceStructureTest against skins and extensions that have foreign-resources.yaml files, we see these failures:
18:38:28 5) ForeignResourceStructureTest::testVerifyIntegrity with data set #5 ('/workspace/src/extensions/Vis...or/lib') 18:38:28 ... verifying 'Color Picker' 18:38:28 ... Color Picker is documentation-only, skipping 18:38:28 ... verifying 'Diff Match and Patch' 18:38:28 ... Diff Match and Patch is documentation-only, skipping 18:38:28 ... verifying 'DOMPurify' 18:38:28 Module 'DOMPurify' has an invalid SPDX license identifier 'Apache-2.0 AND MPLv2', see <https://spdx.org/licenses/>... DOMPurify is documentation-only, skipping 18:38:28 ... verifying 'jsdifflib' 18:38:28 ... jsdifflib is documentation-only, skipping 18:38:28 ... verifying 'PapaParse' 18:38:28 ... PapaParse is documentation-only, skipping 18:38:28 ... verifying 'RangeFix' 18:38:28 ... RangeFix is documentation-only, skipping 18:38:28 ... verifying 'socket.io-client' 18:38:28 ... socket.io-client is documentation-only, skipping 18:38:28 ... verifying 'spark-md5' 18:38:28 Module 'spark-md5' has an invalid SPDX license identifier 'BSD-3-Clause AND WTFv2', see <https://spdx.org/licenses/>... spark-md5 is documentation-only, skipping 18:38:28 ... verifying 'Tree Differ' 18:38:28 ... Tree Differ is documentation-only, skipping 18:38:28 ... verifying 'Universal Language Selector data' 18:38:28 Module 'Universal Language Selector data' has an invalid SPDX license identifier 'MIT AND GPLv2', see <https://spdx.org/licenses/>... Universal Language Selector data is documentation-only, skipping 18:38:28 ... verifying 'VisualEditor' 18:38:28 ... VisualEditor is documentation-only, skipping