Mailinglist Archive: opensuse-buildservice (193 mails)

< Previous Next >
Re: [opensuse-buildservice] AppStream AppData

Quoting Michael Schroeder <mls@xxxxxxx>:

On Fri, Jan 31, 2014 at 10:11:37AM +0000, Dominique Leuenberger a.k.a. Dimstar wrote:
The APPDATA are indeed to be part of the application packages.
but gnome-software-appdata provides 'appstream data.

Except that IMHO no installed package is supposed to write to the app-info
dir, as the data in that directory should come from the repositories
and should reflect the available applications.

Thus it's a crude workaround that is needed until the data transfer
from the repository metadata into the app-info dir is working.

CORRECT.

My view:
- application RPMs can install appdata files to /usr/share/appdata (as they do).
- the appdata.xml.gz has to come from the repo meta data and must be put in place as part of the 'repo caching' process (proposal: zypp plugin; i was told this should not be too hard).
=> This goes to /var/cache/app-info/xmls/<reponame>.xml
and the corresponding icon set to be extracted to
=> /var/cache/app-info/icons/<reponame>

One brp script 'creates' an 'appstream' xml as part of the package build. At this moment, ALL info is based on the .desktop files; this should be enhanced to be at least based on the appdata files (Fedora has some fun scripts in place!)

The publisher has logic to 'merge all the appdata pieces' and create the appdata.xml.gz (AppStream data), as is needed for the repository

Now, the 'problem' is still to produce a meaningful appstream data file appdata.xml.gz (as it is NOT just concatting all the (AppData) appname.appdata.xml files..

Same thoughts at your end? Are we aligned on that so far?

Dominique
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >