houston
houston copied to clipboard
Incorrect license ID validation - GPL-3.0-or-later
Hi,
Sorry for opening yet another issue. I'm still trying to get my application validated, and now I'm getting this warning:
W - com.github.volfpeter.timer.appdata.xml:com.github.volfpeter.timer:6
SPDX license ID 'GPL-3.0-or-later' is unknown.
I've copied the <project_license>GPL-3.0-or-later</project_license>
tag straight from the AppStream metadata documentation. I've double checked the license identifier at https://spdx.org/licenses/ and it is valid.
Br, Peter
This is probably due to an old version of appstreamcli being used
Should I wait until appstreamcli is upgraded, or should I just switch to GPL-3.0-only
? Would that pass validation currently?
This docker file needs to be updated first: https://github.com/elementary/houston/blob/v2/src/worker/task/appstream/validate/Dockerfile
Apparently GPL-3.0-only
is also treated as invalid...
Can I somehow validate my appdata.xml
locally with the exact same options (and appstreamcli
version)? Validating it with my current appstreamcli
version (with no extra arguments) obviously passes. It's not great that I need to keep making new releases after each change to test if submission finally succeeds.