Hello,
please let me add one additional item to this feature.

Assuming SPDX license names are supported and the tool is able to specifically parse for SPDX-fields.
In this case only that SPDX fields should be considered.
Other licenses strings, e.g. in comments, should be ignored.

See as a good example
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. 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.

And by the way: Licensecheck do not need to parse SPDX fields by itself. Use "reuse" for that. I opened an issue at "reuse" to support machine readable license infos. https://github.com/fsfe/reuse-tool/issues/1164

Reply via email to