Commit 8ab233b
fix(licence-check): recognise AGPL-3.0 in the body classifier
check-licence-consistency.sh classified MPL-2.0, PMPL-1.0, GPL-3.0,
Apache-2.0, MIT and BSD-3-Clause verbatim texts, but had no AGPL-3.0
template. A repo with a full-text GNU AFFERO GPL LICENSE (and no SPDX
header line) therefore classified as UNKNOWN and failed the check.
This forced the estate's deliberate AGPL exceptions (the co-developed-with-son
games) into an SPDX-stub LICENSE to pass — which GitHub then reads as
NOASSERTION/"Other" rather than AGPL. It also actively rejected
airborne-submarine-squadron once its wrongly-clobbered MPL LICENSE was
restored to its intended AGPL (asq PR #57): the check passed the wrong state
and failed the right one.
Add has_agpl (matches "GNU AFFERO GENERAL PUBLIC LICENSE"), classified before
plain GPL-3.0 so the Affero title wins. A full-text AGPL LICENSE is now
accepted as a canonical licence file, so AGPL repos can use GitHub-detectable
full text like the MPL repos already do.
Verified: modified script exits 0 against airborne-submarine-squadron
(full-text AGPL) and still exits 0 against nextgen-typing (MPL) — no regression.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 08e2d24 commit 8ab233b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| |||
0 commit comments