On pátek 14. července 2023 14:30:03 CEST Miroslav Suchý wrote:
> Dne 14. 07. 23 v 2:11 Kevin Fenzi napsal(a):
> > On Fri, Jul 14, 2023 at 12:26:27AM +0200, Miroslav Suchý wrote:
> >> Dne 13. 07. 23 v 23:59 Fabio Valentini napsal(a):
> >>> - rawhide mock / koji builds still default to dnf-3 (DNF 4)
> >> Support for DNF5 landed in Mock
> >>
> >> https://rpm-software-management.github.io/mock/Release-Notes-4.0
> >>
> >> In the meantime 4.1 was released.
> >>
> >> I hope that in week or two we release 4.2 and we can set
> >>
> >> config_opts['package_manager'] = 'dnf5'
> >>
> >> for fedora-rawhide config. I have just created
> >> https://github.com/rpm-software-management/mock/issues/1147
> >>
> >> Of course, Koji admins can do that independently in their configs.
> > Sure, but... our builders are Fedora 38.
> > Is the dnf5 in f38 expected to be ready to do bootstrap chroots?
> > Or only the rawhide one?
> 
> Hmm,
> 
> F39 has dnf5-5.0.15-4.fc39 
> <https://koji.fedoraproject.org/koji/buildinfo?buildID=2230433>
> 
> F38 has dnf5-5.0.13-2.fc38 
> <https://koji.fedoraproject.org/koji/buildinfo?buildID=2207359>
> 
> and there are some important changes (like module enable or forcearch) but 
> not sure if Koji will need this. Mock uses it 
> in some scenarions.

As I understand how DNF5 team works, they keep updating DNF5 quickly
enough even in Fedora 38 (but the 'dnf -> dnf-3' exists, instead of
'dnf -> dnf5').

I'm a bit lost in the minor numbers; and Mirek is right, not all the
missing features are actually important from the Koji perspective (e.g.
forcearch).

We keep the list of issues tracked here:
https://github.com/rpm-software-management/mock/issues/894
And namely, https://github.com/rpm-software-management/dnf5/issues/617
seems like a showstopper ATM.  At least as long as we have to check
GPG signatures at koji buildroot installation time.

Otherwise, Mock 4.1+ on Fedora 38 *host* (or in container) should just
work fine with fedora rawhide chroots and package_manager=dnf5.  Don't
forget to `mock -r fedora-rawhide-x86_64 --scrub=bootstrap` first,
because the root_cache tarball for bootstrap has the installed DNF4
packages, not DNF5, from previous calls.

Pavel





_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to