On Thu, Mar 20, 2025 at 08:04:57AM +0100, Miroslav Suchý wrote: > Dne 19. 03. 25 v 7:48 odp. Aoife Moloney via devel-announce napsal(a): > > == Scope == > > * Proposal owners: > > ** Package [https://github.com/keszybz/fedora-repro-build > > fedora-repro-build] to allow local rebuilds of historical koji builds > > This > > https://rpm-software-management.github.io/mock/feature-hermetic-builds
Yes, thanks for the link. I think this didn't exist when I started working on my script to do rebuilds, so I just gather the rpms reported by koji to have been used for the original build and call 'createrepo_c' on the directory and point mock to that. This works fine… But having support for using a lockfile natively in mock is nice. Though, the process described in that link seems incomplete. > # we want to build this package > srpm=your-package.src.rpm Where does the $srpm come from? The process of creating the srpm from dist-git involves running the spec, i.e. already calling "untrusted" code. How is that part handled? > > ** Make [https://github.com/kpcyrd/rebuilderd/ rebuilderd] work with > > Fedora packages and repos > > Stand up a public rebuilderd instance for Fedora rawhide > > Yet another build system in fedora-infra? Can the rebuilderd be adjusted that > it submits builds to Copr? That is a good question. Does copr support running a build with a specified "$lockfile", i.e. with a fixed set of nvra's? It would also have to download those rpms from koji, since they are not available on mirrors. rebuilderrd is an complete project that does things in its own way. It turned out to be not-very-complicated to teach it to use a build script that does the build locally. But talking to an external service, possibly asynchronously, might be more complicated. Maybe Jelle has more thoughts on this. Zbyszek -- _______________________________________________ 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