#3388: Legacy appstream metadata
----------------------------+-------------------------
Reporter: Bas Couwenberg | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.2
Component: Default | Version: 7.2.1
Keywords: appstream | CPU: Unspecified
Platform: Linux |
----------------------------+-------------------------
The [https://www.freedesktop.org/software/appstream/docs/chap-
Metadata.html AppSteam] metadata is installed in the legacy location
(`/usr/share/appdata`), it should now be installed in
`/usr/share/metainfo`.
The `.appdata.xml` file should now be named `.metainfo.xml`, and the
syntax has changed.
There are a couple of validation issues reported:
{{{
$ appstreamcli validate gui/icons/grass.appdata.xml
W - grass.appdata.xml:grass.desktop:4
The component ID is not a reverse domain-name. Please update the ID
and that of
the accompanying .desktop file to follow the latest version of the
Desktop-Entry
and AppStream specifications and avoid future issues.
E - grass.appdata.xml:grass.desktop
The component is missing a name (<name/> tag).
E - grass.appdata.xml:grass.desktop:9
The description contains an URL. This is not allowed, please use the
<url/> tag
to share links.
Validation failed: errors: 2, warnings: 1
}}}
The changes to the AppStream metadata are likely to trigger changes to the
`.desktop` file too (e.g. the reverse domain ID).
#3388: Legacy appstream metadata
-----------------------------+-------------------------
Reporter: Bas Couwenberg | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.2
Component: Default | Version: 7.2.1
Resolution: | Keywords: appstream
CPU: Unspecified | Platform: Linux
-----------------------------+-------------------------
Comment (by Bas Couwenberg):
The AppStream specification doesn't mention backwards compatibility.
I guess that just using the path and format from the (current)
specification is sufficient. I'm not aware of any consumers that expect
the old `/usr/share/appdata` path.
Alternatively maintain two files with the old and new formats and their
respective installation path.