pungi/pungi
Lubomír Sedlář 121ffb403f pkgset: Only add missing packages from global tag
Background story: if a compose is combining modular and traditional
compose, the configuration will contain multiple Koji tags to build
package set from (one tag for each module, plus at least one tag for the
traditional content). However some packages might be present in multiple
tags, and if the package set contains both, there's no way to control
which one will end up in the compose.

The solution for this is to give preference to the modular compose. If a
package with the same name exists in multiple tags, we only take the
first one we find. This relies on ordering of collected tags: modular
ones are always first, and traditional tags are at the end of the list.

If there are multiple modules that contain the same package, only one of
them will be used, which is not correct. Allegedly this should not
happen. In any case such use case does not work without this patch
either, so we're not losing anything.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2018-01-17 16:57:22 +01:00
..
compose_metadata Remove FSF address from comments 2016-09-23 10:26:43 +02:00
ostree ostree/utils: Drop timestamps from generated repo names - tests 2018-01-17 16:48:22 +01:00
phases pkgset: Only add missing packages from global tag 2018-01-17 16:57:22 +01:00
wrappers Add buildinstall_use_guestmount boolean option 2018-01-16 09:18:35 +01:00
__init__.py Port to Python 3 2017-10-24 15:15:31 +02:00
arch.py remove the dependency of rpmUtils 2017-07-26 11:23:16 +02:00
arch_utils.py remove the dependency of rpmUtils 2017-07-26 11:23:16 +02:00
checks.py Add buildinstall_use_guestmount boolean option 2018-01-16 09:18:35 +01:00
common.py Remove FSF address from copyright headers 2017-03-24 09:24:48 +01:00
compose.py Port to Python 3 2017-10-24 15:15:31 +02:00
config.py remove the dependency of rpmUtils 2017-07-26 11:23:16 +02:00
createiso.py Stop using deprecated pipes.quote 2017-10-24 15:15:31 +02:00
dnf_wrapper.py Explicitly remove all temporary files 2017-03-24 09:24:49 +01:00
gather.py gather(yum): Don't exclude packages from lookaside 2017-09-12 08:38:08 +02:00
gather_dnf.py Port to Python 3 2017-10-24 15:15:31 +02:00
ks.py Fix PEP8 complaints 2017-03-24 09:24:48 +01:00
linker.py Remove FSF address from comments 2016-09-23 10:26:43 +02: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 buildinstall: Allow using external dire for runroot task 2017-11-30 10:55:52 +01:00
profiler.py profiler: Fix sorting on Python 3 2017-09-13 09:55:51 +02:00
util.py Fall back to mount if guestmount is not available 2018-01-02 17:13:47 +01:00