- Package:
- licensecheck
- Source:
- licensecheck
- Submitter:
- Date:
- 2025-04-08 11:33:01 UTC
- Severity:
- normal
Dear Maintainer, Appstream metadata files have two license fields; 1) <metadata_license> 2) <Project_license> The license for the file itself is the metadata license, but licensecheck reports using the project license. Example here https://salsa.debian.org/debian/strawberry/-/blob/master/dist/unix/org.strawberrymusicplayer.strawberry.appdata.xml File license is CC0-1.0, but licensecheck reports GPL. Note, also the project license is GPL-3+, not just GPL. Regards, Peter B
Hi Peter, Quoting Peter B (2023-09-13 12:54:15) Licensecheck does not even report "using the project license": It recognizes neither of those license fields, as revealed by this command: TRACE=1 licensecheck dist/unix/*.appdata.xml ..which hints of a discovery at lines 946-964, which is "released under GPL" at lines 946-964. Rephrasing bugreport title accordingly. - Jonas
Hi Jonas, Apart from the appstream metadata issue, I'm seeing license shortnames such as GPL-3.0+ GPLv3+ GPL-3+ in file headers are all shown as GPL-3 instead of GPL-3+ Example https://salsa.debian.org/debian/strawberry/-/blob/master/dist/unix/strawberry.spec.in Should I raise this as a separate bug report? Cheers, Peter
Quoting Peter B (2023-09-13 20:37:29) Yes, that's a separate issue - please report as a separate bugreport, and please provide more examples (as it is helpful to examine if they are all failing the same way). Thanks! - Jonas