pungi/pungi
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
..
compose_metadata Use $SOURCE_DATE_EPOCH (if set) in discinfo file 2018-10-08 13:33:29 +02:00
ostree Cleanup parsing treefile 2018-11-19 11:59:32 +01:00
phases hybrid: Refactor handling debuginfo packages 2019-03-18 13:56:48 +01:00
wrappers scm: Don't retry git fetch 2019-03-11 13:12:06 +00:00
__init__.py Include exact version of pungi in the logs 2018-07-26 17:03:58 -04:00
arch.py arch: Drop mapping ppc64 -> ppc64p7 2018-05-16 16:25:58 +02:00
arch_utils.py Remove useless shebang 2018-02-20 10:13:09 +01:00
checks.py checks: Use GitResolver for scm dicts 2019-03-06 09:46:12 +00:00
common.py Remove FSF address from copyright headers 2017-03-24 09:24:48 +01:00
compose.py Read koji event from config file 2019-02-26 10:52:45 +01:00
config.py pungi-legacy: expose lorax's --rootfs-size argument 2019-01-14 10:41:37 +01:00
createiso.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
dnf_wrapper.py gather: Ignore comps in lookaside repo 2018-06-08 13:32:24 +02:00
gather.py pungi-legacy: expose lorax's --rootfs-size argument 2019-01-14 10:41:37 +01:00
gather_dnf.py Fix tests for DNF 3 2018-07-19 14:22:10 +02:00
graph.py Variant as a lookaside - configuration 2018-04-13 14:14:43 +02:00
ks.py Write package whitelist for each variant 2018-03-08 14:29:23 +01:00
linker.py Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
media_split.py Include phase name in log for some phases 2016-11-23 16:47:22 +08:00
metadata.py buildinstall: Fix treeinfo generating on failure 2018-01-17 13:57:49 +01:00
multilib_dnf.py Port to Python 3 2017-10-24 15:15:31 +02:00
multilib_yum.py Use pungi.util.pkg_is_debug() instead of pungi.gather.is_debug() 2017-07-26 23:18:15 +02:00
notifier.py notification: Add more info into the messages 2017-10-31 11:11:04 +01:00
pathmatch.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00
paths.py fus: Write solvables to file 2018-10-17 10:14:04 +02:00
profiler.py gather: Print profiling information to stderr 2018-04-25 14:21:09 +02:00
util.py util: Refactor resolving git url 2019-03-01 09:40:30 +01:00