On Sun, Oct 20, 2019 at 1:58 PM, Bernhard Voelker <mail@bernhard-voelker.de> wrote:
On 2019-10-20 12:35, Stasiek Michalski wrote:
On Sun, Oct 20, 2019 at 11:02 AM, Bernhard Voelker <mail@bernhard-voelker.de> wrote:
b) Where to store?
Or appstream metainfo.xml/appdata.xml files, which cover types of most of the distribution packages, and are already used by KDE/GNOME upstreams for KDE Discover/GNOME Software and our own software-o-o (we don't use rpm metadata there anyway iirc).
You mean in '/usr/share/appdata' ? Hmm, that doesn't seem to be used until now yet:
$ find /usr/share/appdata/ -mindepth 1 | wc -l 29
Keep in mind /usr/share/metainfo is an accepted alternative (and now the default directory for those files).
But wouldn't that require the have a package installed before being able to have that information available? I mean what we're searching for is a place a package manager can use to display before or after a package is installed.
That metadata is extracted as a packaging step by OBS, and combined into a file as a part of a repository (repodata/***-appdata.xml.gz, repodata/***-appdata-icons.tar.gz), it's then downloaded by zypp and installed with appstream helpers. It's accessible for all the tools on the system, as long as zypp repositories are up to date. Desktop files on the other hand, that would be hard to use before their package is installed, because no such collection happens with them. LCP [Stasiek] https://lcp.world -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org