On Sat, 2019-03-09 at 21:29 +0100, Mikolaj Izdebski wrote:
On Sat, Mar 9, 2019 at 2:29 PM Jonathan Dieter
<jdieter(a)gmail.com>
wrote:
> Hey, I just noticed that, while we have zchunked metadata for the
> F30
> base repository, it's not enabled to for updates-testing.
>
> I've looked in the ansible repo and in pungi, but I can't see where
> createrepo_c is actually called for updates-testing. Can someone
> please point me in the right direction?
createrepo for updates-testing is ran by pungi. I believe you need to
enable zchunk in pungi.conf (createrepo_extra_args option). For
non-modular updates-testing the config is
roles/bodhi2/backend/templates/pungi.rpm.conf.j2 in ansible.git.
Similarly, for modular equivalent, pungi config is located at
roles/bodhi2/backend/templates/pungi.module.conf.j2
Thanks for pointing me in the right direction. I think I've got it,
complete with a conditional so we don't start generating zchunk
metadata for F29 updates.
There doesn't seem to be a way to generate pull requests on
https://infrastructure.fedoraproject.org/cgit/ansible.git, so I'm
attaching the support as a patch. If there's a better way for me to
send it in, please let me know.
Jonathan
P.S. It may be a small and simple patch, but I haven't actually tested
it and am not sure how to go about doing so.