Closed musicinmybrain closed 8 months ago
Hi! Where do you see these deprecations/changes? Is it just appstreamcli
output? Because I don't see anything regarding developer-name at https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html or https://github.com/ximion/appstream/blob/main/NEWS. Also, the latest version I see is 0.16.x. Where's your 1.0.0 from? Is it a stable release?
Right, this is just appstreamcli validate
output. The FreeDesktop documentation doesn’t reflect any of this yet, which I find frustrating.
My appstream
is a pre-release as currently packaged in Fedora Linux Rawhide (the development version of the OS). It corresponds to https://github.com/ximion/appstream/commit/d88ed03cb5b3b1803bdee3528c9b99d528ceb065. Issue https://github.com/ximion/appstream/issues/244 is related.
I needed to deal with this now for Fedora (in Rawhide only) because appstreamcli validate
fails (exits with nonzero status) when there are warnings, which is why I went ahead and wrote a PR. On the other hand, I would certainly understand if you chose not to act on this until after the appstream
1.0.0 final release. In that case, please just consider this PR an advance warning of something you will likely have to deal with in the future.
Seems to validate fine with appstreamcli
0.16.2 I have installed, so I guess this is fine. Thanks for noticing and the PR!
Use the
name
element in adeveloper
block instead, as recommended byappstreamcli
1.0.0.This fixes all warnings when validating the AppData XML file, although there are still informational messages: