houston icon indicating copy to clipboard operation
houston copied to clipboard

Incorrect license ID validation - GPL-3.0-or-later

Open volfpeter opened this issue 4 years ago • 4 comments

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

volfpeter avatar Jan 26 '20 16:01 volfpeter

This is probably due to an old version of appstreamcli being used

btkostner avatar Jan 27 '20 16:01 btkostner

Should I wait until appstreamcli is upgraded, or should I just switch to GPL-3.0-only? Would that pass validation currently?

volfpeter avatar Jan 28 '20 07:01 volfpeter

This docker file needs to be updated first: https://github.com/elementary/houston/blob/v2/src/worker/task/appstream/validate/Dockerfile

btkostner avatar Jan 28 '20 15:01 btkostner

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.

volfpeter avatar Jan 29 '20 08:01 volfpeter