ximion / appstream

Tools and libraries to work with AppStream metadata
http://www.freedesktop.org/wiki/Distributions/AppStream/
GNU Lesser General Public License v2.1
215 stars 114 forks source link

Unexpected warnings for 'appstream validate' on components with merge="append" #645

Open sidt4 opened 3 months ago

sidt4 commented 3 months ago

appstreamcli validate support for components with merge="append" was added in https://github.com/ximion/appstream/issues/455.

Now, running validation on org.gnome.App-list.xml.txt obtained from https://gitlab.gnome.org/GNOME/gnome-app-list/ results in the following warnings.

$ appstreamcli validate _build/org.gnome.App-list.xml

I: app.drey.Biblioteca:9: nonstandard-gnome-extension kudos
W: app.drey.Biblioteca:~: url-homepage-missing
W: app.drey.Biblioteca:~: category-invalid Featured
W: app.drey.Biblioteca:~: all-categories-ignored
I: app.drey.Biblioteca:~: developer-info-missing

I: app.drey.Dialect:21: nonstandard-gnome-extension kudos
W: app.drey.Dialect:~: url-homepage-missing
W: app.drey.Dialect:~: category-invalid Featured
W: app.drey.Dialect:~: all-categories-ignored
I: app.drey.Dialect:~: developer-info-missing
...
...
✘ Validation failed: warnings: 360, infos: 194
$ echo $?
3

I guess except for nonstandard-gnome-extension kudos, validation should not report any warnings.

$ appstreamcli --version
AppStream version: 1.0.3
sidt4 commented 3 months ago

Refer pipeline https://gitlab.gnome.org/sid/gnome-app-list/-/jobs/4159767.