Dne 1.9.2017 v 15:31 Neal Gompa napsal(a): > On Fri, Sep 1, 2017 at 9:12 AM, Marius Vollmer > <marius.vollmer@xxxxxxxxxx> wrote: >> Neal Gompa <ngompa13@xxxxxxxxx> writes: >> >>> [...] It's already kind of second-class in Fedora because it's not >>> properly integrated into our repodata (like it's supposed to be, and >>> how it is in openSUSE, Mageia, and even in COPR). >>> >>> We should be making AppStream data support first-class, not >>> third-class. :( >> >> This is interesting. Can you point me to more information about >> AppStream and COPR? There is no documentation. It is as simple as "Copr fully support AppStream". :) > COPR runs createrepo_c, then appstream-builder, then modifyrepo_c to > create the rpm-md repodata, generate the appstream repodata, and > append the appstream repodata to the rpm-md repodata. > > You can see the appstream bundle in the repodata folder: > https://copr-be.cloud.fedoraproject.org/results/mvo/cockpit-app-freeipa/fedora-26-x86_64/repodata/669caf74c17cec488cc84ee5eadf4f4f02c7b34a84fd4664b4148c1422e4186d-appstream.xml.gz > > And it's referenced in the repomd.xml file: > https://copr-be.cloud.fedoraproject.org/results/mvo/cockpit-app-freeipa/fedora-26-x86_64/repodata/repomd.xml *nod* Technically speaking we run: APPDATA_CMD_TEMPLATE = \ """/usr/bin/timeout --kill-after=240 180 \ /usr/bin/appstream-builder \ --max-threads=4 \ --temp-dir={packages_dir}/tmp \ --cache-dir={packages_dir}/cache \ --packages-dir={packages_dir} \ --output-dir={packages_dir}/appdata \ --basename=appstream \ --include-failed \ --min-icon-size=48 \ --enable-hidpi \ --origin={username}/{projectname} """ INCLUDE_APPSTREAM = \ """/usr/bin/modifyrepo_c \ --no-compress \ {packages_dir}/appdata/appstream.xml.gz \ {packages_dir}/repodata """ INCLUDE_ICONS = \ """/usr/bin/modifyrepo_c \ --no-compress \ {packages_dir}/appdata/appstream-icons.tar.gz \ {packages_dir}/repodata """ Mirek _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx