Don't spawn createrepo if not needed

Related: https://pagure.io/koji/issue/3808
This commit is contained in:
Tomas Kopecek 2023-06-09 13:56:29 +02:00
parent f9368c6194
commit c0c1f3c33d
3 changed files with 112 additions and 4 deletions

View file

@ -135,6 +135,13 @@ Building
createrepo_update=True
Recycle old repodata (if they exist) in createrepo.
copy_old_repodata=False
``newRepo`` task can copy old repodata if they exist and there is no
apparent change in the content. It should be generally safe to turn on
and it would lower number of ``createrepo`` tasks in normal environment.
Note, that some cases (especially tags with external repos) will render
this as no-op as we can't be sure that content hasn't changed meanwhile.
failed_buildroot_lifetime=14400
Failed tasks leave buildroot content on disk for debugging purposes.
They are removed after 4 hours by default. This value is specified