pungi/pungi/phases
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
..
gather gather: Do not require variant for module source 2018-01-17 14:06:56 +01:00
pkgset pkgset: Only add missing packages from global tag 2018-01-17 16:57:22 +01:00
__init__.py Ensure all phases are stopped 2017-06-02 09:52:18 +02:00
base.py Report warning when config sections are not used 2017-08-21 09:07:10 +02:00
buildinstall.py buildinstall: Fix treeinfo generating on failure 2018-01-17 13:57:49 +01:00
createiso.py remove remaining hard coded createrepo threads 2017-10-30 10:37:10 +01:00
createrepo.py Optionally do old_compose per release type 2017-11-06 15:17:33 +01:00
extra_files.py extra-files: Allow configuring used checksums 2017-04-20 09:28:09 +02:00
image_build.py image-build: Drop suffixes from configuration 2017-11-01 12:47:36 +01:00
image_checksum.py Port to Python 3 2017-10-24 15:15:31 +02:00
init.py init: Warn when variants mentions non-existing comps group 2017-04-11 15:46:34 +02:00
live_images.py Stop using deprecated pipes.quote 2017-10-24 15:15:31 +02:00
livemedia_phase.py Port to Python 3 2017-10-24 15:15:31 +02:00
osbs.py osbs: Get correct path to repo for addons 2017-11-20 12:58:49 +01:00
ostree_installer.py Stop using deprecated pipes.quote 2017-10-24 15:15:31 +02:00
ostree.py ostree: Add force_new_commit option - test added 2018-01-11 15:08:07 +01:00
product_img.py Fall back to mount if guestmount is not available 2018-01-02 17:13:47 +01:00
test.py Port to Python 3 2017-10-24 15:15:31 +02:00