On Sun, Feb 13, 2022 at 05:46:49PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Feb 13, 2022 at 09:43:38AM -0600, Michael Catanzaro wrote: > > On Sun, Feb 13 2022 at 02:26:46 PM +0100, Miro Hrončok <mhroncok@xxxxxxxxxx> > > wrote: > > > Considering most of the dependent packages failed to rebuild in this > > > case, I am > > > not sure how a robot would be supposed to deal with this :( > > > > If the bot can handle everything that doesn't require manual intervention, > > that's still a good improvement over the status quo. > > A bot would be nice, but I think we're unlikely to get this in the > near future. I think it would be useful to start with a helper script to: > - identify all dependent packages that need to be rebuild > - if possible figure out build dependencies (i.e. the cases where we know > that some package will fail to build until some other package in the > set has been rebuilt), > - suggest a build order > - start builds in a side tag > > Then you could ask a proven packager to just run the rebuild command, > even if you don't have the privileges yourself. > > If we ever want to write a bot for this, this script will be a good > starting point… +100 to improving tooling here. It would be nice if we could get it into fedora-packager too so it's in a easy to find place and many people could contribute to it. So, most/much of what you list above (or perhaps the part before it) is/was handled by the stewardship-sig's review-pr.py. I think that might be a good place to start. Then you get: * All dependent packages id'ed and built against pr in copr * Can see what packages fail to build in copr We could perhaps enhance it to get a build order and run so it makes a sidetag, merges the pr and does the builds? 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 on the list, report it: https://pagure.io/fedora-infrastructure