This is a major change to the way that repos are generated in Koji, shifting from constant global re-generation of repos as tag content changes to primarily on-demand generation when repos are required. Kojira still exists, but is about 30% smaller with significant parts of the logic moved to the hub.
Repos are only generated by request. All Koji build processes that need a repo make such a request. Additionally, kojira will regularly make such requests for tags that are specifically configured for automatic generation (by setting repo.auto for the tag).
This does not mean that every build triggers a fresh repo. In many cases, repos will be re-used. By default, a repo request asks for a repo with a minimum event about an hour old. So, the system will prefer to re-use a (very slightly) out of date repo versus regenerating a fresh one. This allowed lag can be controlled with the RepoLag setting on the hub. Otoh, the --wait-repo option to the build command will cause the buid task to request a current repo.
There's a lot of change here. I recommend reading through the included doc first.
This is a major change to the way that repos are generated in Koji, shifting from constant global re-generation of repos as tag content changes to primarily on-demand generation when repos are required. Kojira still exists, but is about 30% smaller with significant parts of the logic moved to the hub.
Related: https://pagure.io/koji/issue/3176
Related: https://pagure.io/koji/issue/3866
Repos are only generated by request. All Koji build processes that need a repo make such a request. Additionally, kojira will regularly make such requests for tags that are specifically configured for automatic generation (by setting
repo.autofor the tag).This does not mean that every build triggers a fresh repo. In many cases, repos will be re-used. By default, a repo request asks for a repo with a minimum event about an hour old. So, the system will prefer to re-use a (very slightly) out of date repo versus regenerating a fresh one. This allowed lag can be controlled with the
RepoLagsetting on the hub. Otoh, the--wait-repooption to the build command will cause the buid task to request a current repo.There's a lot of change here. I recommend reading through the included doc first.