On Wed, Oct 23, 2024 at 11:11:22AM +0300, Alexander Ploumistos wrote: > In addition to Petr's question, would someone be so kind as to give a > detailed example of what the workflow should be in the case of three > package maintainers wanting to build three interdependent packages in > a side tag? > E.g. Packager1 creates the side tag and builds foo-1.2.3.-1. Packager2 > builds bar-4.5.6-2 which depends on foo and Packager3 builds > baz-7.8.9-2 which depends on bar. What does each one of them need to > run after the request for the side tag? I think (and I hope MikeM will correct me if I am wrong): create side tag, then you can just run 'fedpkg build foo-1.2.3.-1.' koji will do a newrepo for the new sidetag automatically after it's created, but also later it will check if the buildroot repo it made after creation is up to date on events for the base tag just before your build. Packager2 comes along. If they want to make sure foo-1.2.3.-1. is in the buildroot, they should: koji build --wait-build=foo-1.2.3.-1. ... If there is already a repo that has that build in it, it will just do the build. If there isn't, it will wait for that newrepo to finish. Packager3 the same, just --wait-build=bar-4.5.6-2 However, there's a few knobs in configuration about how recent a repo is fine for a request. By default it's 1 hour +/- 10min. So, if Packager2 comes along 1hour or so after Packager1, they could just build, as koji would say 'need a newer repo here'. Likewise for Packager3. It would be nice for fedpkg to handle all this, but I am not sure how that would work. I guess it could see what the last package tagged into the sidetag is and pass --wait-build=NVR for it automatically? kevin
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue