Skip to content

Commit b129aab

Browse files
Martin VogelDeusData
authored andcommitted
Exempt the provenance-audit tool from the ScanCode pass
It names license identifiers in its verdict maps by design — the same documented false-positive category as the other license tooling. Signed-off-by: Martin Vogel <martin.vogel@datadice.io>
1 parent 578ac55 commit b129aab

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎scripts/license-policy.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_comment": "License allow-list for the CI license gate (scripts/license-gate.sh). A single detected SPDX id outside this list fails the pipeline. Additions to this list are deliberate, reviewed changes — never add copyleft (GPL/LGPL/AGPL/EPL/SSPL) without a maintainer decision.",
2+
"_comment": "License allow-list for the CI license gate (scripts/license-gate.sh). A single detected SPDX id outside this list fails the pipeline. Additions to this list are deliberate, reviewed changes \u2014 never add copyleft (GPL/LGPL/AGPL/EPL/SSPL) without a maintainer decision.",
33
"allowed_spdx_ids": [
44
"MIT",
55
"MIT-0",
@@ -16,12 +16,13 @@
1616
"LicenseRef-scancode-public-domain",
1717
"LicenseRef-scancode-public-domain-disclaimer"
1818
],
19-
"_ignored_paths_comment": "Path prefixes (relative to the staged scan tree) excluded from the gate. Use ONLY for documented false positives. Justifications: the license tooling itself (gate scripts + this policy file) necessarily names prohibited licenses; gen-third-party-notices.sh echoes license terminology; src/discover/discover.c contains a license-FILENAME classification list (LICENSE-MIT, LICENSE-APACHE, ...) for file discovery, which ScanCode reads as license references.",
19+
"_ignored_paths_comment": "Path prefixes (relative to the staged scan tree) excluded from the gate. Use ONLY for documented false positives. Justifications: the license tooling itself (gate scripts + this policy file) necessarily names prohibited licenses; gen-third-party-notices.sh echoes license terminology; audit-license-provenance.py names licenses in its verdict maps; src/discover/discover.c contains a license-FILENAME classification list (LICENSE-MIT, LICENSE-APACHE, ...) for file discovery, which ScanCode reads as license references.",
2020
"ignored_paths": [
2121
"tree/scripts/license-policy.json",
2222
"tree/scripts/license-gate-check.py",
2323
"tree/scripts/license-gate.sh",
2424
"tree/scripts/gen-third-party-notices.sh",
25-
"tree/src/discover/discover.c"
25+
"tree/src/discover/discover.c",
26+
"tree/scripts/audit-license-provenance.py"
2627
]
2728
}

0 commit comments

Comments
 (0)