Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

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

Open
volfpeter opened this issue Jan 26, 2020 · 4 comments
Open

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

volfpeter opened this issue Jan 26, 2020 · 4 comments

Comments

@volfpeter
Copy link

volfpeter commented Jan 26, 2020

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

@btkostner
Copy link
Contributor

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

@volfpeter
Copy link
Author

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

@btkostner
Copy link
Contributor

@volfpeter
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants