pungi/pungi/phases/gather/methods
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
..
__init__.py Initial code merge for Pungi 4.0. 2015-02-10 08:19:34 -05:00
method_deps.py Drop the memory saving code 2018-10-16 15:35:47 +02:00
method_hybrid.py hybrid: Refactor handling debuginfo packages 2019-03-18 13:56:48 +01:00
method_nodeps.py gather: Expand wildcards in package names for nodeps 2018-11-08 08:44:44 +01:00