pungi/pungi
Jan Kaluza 5395af416c Allow reusing old buildinstall phase results.
New `buildinstall.metadata` file is created once the buildinstall
phase is done. This file contains:

- list of lorax command line arguments.
- list of RPMs installed in the buildinstall buildroot.
- list of RPMs installed in the resulting boot.iso.

This file is checked in the next compose run to find out if
the result of buildinstall phase from the previous compose
can be reused. Following is checked:

- lorax commandline arguments are the same (except of expected
  differences).
- The NVRAs of RPMs in the runroot_tag are the same as the ones
  installed in the old buildinstall buildroot.
- The NVRAs of RPMs installed in the boot.iso are the same as
  the ones in package sets in the current compose.

By its implementation, this reuse strategy is used only if
pungi_buildinstall Koji plugin is used.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>

Add tests for buildinstall reuse and buildinstall_allow_reuse option.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-04-17 11:37:13 +00:00
..
compose_metadata Format code base with black 2020-02-05 17:35:47 +08:00
ostree ostree: set umask to be more permissive for ostree operations 2020-04-17 09:20:24 +02:00
phases Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00:00
scripts Split repoclosure into separate phase 2020-04-14 09:25:57 +08:00
wrappers Gather more debug data for GitWrapper clone 2020-04-03 17:08:51 +08:00
__init__.py Format code base with black 2020-02-05 17:35:47 +08:00
arch.py Format code base with black 2020-02-05 17:35:47 +08:00
arch_utils.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
checks.py Allow reusing old buildinstall phase results. 2020-04-17 11:37:13 +00:00
common.py Format code base with black 2020-02-05 17:35:47 +08:00
compose.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
config.py Format code base with black 2020-02-05 17:35:47 +08:00
createiso.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
dnf_wrapper.py Format code base with black 2020-02-05 17:35:47 +08:00
gather.py Fix other flake8 complaints 2020-02-07 16:14:09 +08:00
gather_dnf.py gather: Make additional_packages accept debuginfo packages 2020-02-12 16:38:08 +08:00
graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
ks.py Format code base with black 2020-02-05 17:35:47 +08:00
linker.py Format code base with black 2020-02-05 17:35:47 +08:00
media_split.py Format code base with black 2020-02-05 17:35:47 +08:00
metadata.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
module_util.py Move import of modulemd to a separate module 2019-10-03 10:40:31 +02:00
multilib_dnf.py Format code base with black 2020-02-05 17:35:47 +08:00
multilib_yum.py Format code base with black 2020-02-05 17:35:47 +08:00
notifier.py Format code base with black 2020-02-05 17:35:47 +08:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py pkgset: Reuse pkgset repos 2020-03-13 17:29:53 +08:00
profiler.py Format code base with black 2020-02-05 17:35:47 +08:00
runroot.py Format code base with black 2020-02-05 17:35:47 +08:00
util.py util: Fix regex for detecting debuginfo packages 2020-03-16 11:13:02 +01:00