It is AppStream standard. Your link has mentioned it.
AppStream tools scan the /usr/share/appdata/ path for legacy compatibility as well. It should not be used anymore by new software though, even on older Linux distributions (like RHEL 7 and Ubuntu 16.04 LTS) the metainfo path is well supported. Support for the legacy path will likely be dropped completely with a future AppStream 1.0 release.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
So /usr/share/appdata/ is already deprecated.
However, *.appdata.xml is still a supported extension.
While desktop-application metadata is commonly stored in /usr/share/metainfo/%{id}.metainfo.xml (with a .metainfo.xml extension), using a .appdata.xml extension is also permitted for this component type for legacy compatibility. AppStream implementations will recognize either file type, as long as it ends up in the right location on the filesystem.
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
Usually software uses *.appdata.xml for applications and *.metainfo.xml for libraries, fonts and plugins. So I think we don't need to change the extension if upstream decided to use *.appdata.xml.
Hello and thanks!
Can you please help with a link to the standard we should follow? Is this something openSUSE specific or a more general policy?
Looking at
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-introduction
do we have to rename the file from
org.godotengine.Godot.appdata.xml
to
org.godotengine.Godot.metainfo.xml
as well?
It is AppStream standard. Your link has mentioned it.
So
/usr/share/appdata/
is already deprecated.However,
*.appdata.xml
is still a supported extension.Usually software uses
*.appdata.xml
for applications and*.metainfo.xml
for libraries, fonts and plugins. So I think we don't need to change the extension if upstream decided to use*.appdata.xml
.Thank you very much for providing this background information!