if covering/parsing SPDX meta data is implemented (#960665) please make sure to
ignore all other licenses strings.
Let me provide you some real world problem where this would be important and also save resources of Debian package maintainers.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960665
The "problem" here is that the whole project does offer SPDX meta data and "reuse lint" is green on all files, which means the project is SPDX conform.
But one file "serviceHelper.py" does have comments about the license
history of that file. Some other licenses are named just of historical reasons. License checker does consider that strings, too. That is the problem.
I have reframed it as an option (rather than
a default goal):
support excluding formats e.g. to only check for SPDX fields
Do you agree that this covers the point of this issue?
Am 08.04.2025 12:44 schrieb Jonas Smedegaard:
I have reframed it as an option (rather than
a default goal):
support excluding formats e.g. to only check for SPDX fields
Do you agree that this covers the point of this issue?
Kind of. Yes. ;)
But I would still argument that it should be default behavior of licensecheck, to not looking for other formats if SPDX is provided.
Checking for SPDX and other formats at the same time/file would
contradict the goal of SPDX.
If authors using SPDX and extra license information on purpose they are using SPDX the wrong way.
So doing it my way would be a more pedagogical and train/force the
authors to learn how to use SPDX the right way.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 15:24:27 |
Calls: | 9,540 |
Files: | 13,653 |
Messages: | 6,139,703 |