pungi/pungi/phases
Lubomír Sedlář b80efbfd97 hybrid: Refactor handling debuginfo packages
Behavior before this change: debuginfo was added based on source RPMs.
Pungi would get all debuginfo for all architectures that include at
least one binary package. This had a consequence that if foo-x.x86_64
and foo-x.i686 from the same built were included, foo-y-debuginfo.i686
would be included despite foo-y only being present for x86_64.

The patch changes this to work on binary package level: for each
included package `x`, check if there is `x-debuginfo` or
`x-debugsource`, and include them. Packages added in this way have to go
through one iteration of the solver, to account for cases such as
`x-libs-debuginfo` depending on `x-debuginfo` (with only `x` starting
this chain).

To make it slightly faster, the invocation of fus is changed to only
process newly added package in each iteration. It should have no effect
on the results, and subsequent iterations are much faster if they don't
process the same stuff again and again.

JIRA: COMPOSE-3247
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-03-18 13:56:48 +01:00
..
gather hybrid: Refactor handling debuginfo packages 2019-03-18 13:56:48 +01:00
pkgset pkgset: Stop loading list of module RPMs 2019-03-14 09:08:44 -04:00
__init__.py Add a phase for creating extra ISOs 2018-05-16 12:20:01 +02:00
base.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
buildinstall.py buildinstall: Pick correct config with rootfs_size 2019-02-01 14:24:20 +01:00
createiso.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
createrepo.py Support more specific config for devel modules 2018-10-30 15:58:35 +01:00
extra_files.py extra-files: Allow configuring used checksums 2017-04-20 09:28:09 +02:00
extra_isos.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
image_build.py image-build: Accept formats in lists 2019-03-04 08:32:19 +01:00
image_checksum.py Stop using .message attribute on exceptions 2018-05-15 14:17:46 +02:00
init.py init: Keep parent groups in addon comps environments 2018-11-02 12:43:56 +01:00
live_images.py Stop using deprecated pipes.quote 2017-10-24 15:15:31 +02:00
livemedia_phase.py koji-wrapper: Log failed subtasks 2018-05-02 08:27:44 +02:00
osbs.py osbs: Fix wrong message in logs 2019-02-28 09:00:47 +01:00
ostree.py Make sure ${basearch} is also replaced with config['ostree_ref'] 2019-01-09 21:39:33 +01:00
ostree_installer.py ostree_installer: Pass --buildarch to lorax 2019-01-28 13:41:49 +01:00
phases_metadata.py Validation of parameter skip_phases 2018-05-15 13:30:00 +02:00
product_img.py Fall back to mount if guestmount is not available 2018-01-02 17:13:47 +01:00
test.py isos: Check maximum expected size 2019-02-12 15:15:30 +01:00
weaver.py Move ostree phase and pipelines for running phases 2018-02-26 13:43:44 +01:00