#1074 RFE: Generate and append AppStream repodata in dist-repos
Opened 5 years ago by ngompa. Modified 3 years ago

In several places (Copr, Mageia, SUSE, etc.), AppStream information is delivered as metadata attached to the rpm-md repodata.

This is done by running appstream-builder (or appstream-generator) on the RPMs to produce the appstream data and using modifyrepo_c to append it.

It'd be great if Koji offered the ability to run a task for preparing a dist-repo with AppStream data so that those repos are usable by things like GNOME Software, Plasma Discover, AppCenter, and so on.


Is there some script in Fedora Infrastructure that does this today for our main repositories?

No. In Fedora it's being shipped as a package (appstream-data), but Mageia has a script for doing this in their legacy build system, and COPR does it similarly. The reason it's done this way in Fedora is because Koji and Bodhi lack the ability to produce AppStream repodata for distribution repos.

The current situation in Fedora leads to metadata inconsistencies for software centers that rely on that data.

Login to comment on this ticket.

Metadata