On Thu, 2010-02-11 at 17:03 -0500, Seth Vidal wrote:
On Thu, 11 Feb 2010, Mike McLean wrote:
On 02/11/2010 03:12 AM, Mike Bonnet wrote:
We have a Koji hub plugin system now, which makes implementing this kind of post-build operation pretty simple. I think the last time we talked about something like this, we were concerned about the load on the hub from constantly running createrepos. However, I guess running a createrepo on a handful of packages won't cause a huge increase in load, and if it's really useful it's worth it.
I'm not sure I'd want the createrepo to run on the hub, though I guess such small runs would be fairly quick and not overly frequent.
We can probably still farm it out to the builders, or just run it in kojid after the build. There are just a few issues with paths and urls to work out.
I'd say run it on the builders, too. That way we can potentially be clever if we ever find ourselves with multiple versions of createrepo for specific trees. So we can build the right version for the process.
Are you meaning doing it in the /chroot/ ? That'd mean adding createrepo as a chroot item for every build, or creating a chroot for every post-build createrepo call.