pungi/pungi/phases/pkgset
Lubomír Sedlář fbb739ef17 pkgset: Apply whitelist to modules in the tag
This patch changes the behaviour when both module tag and NSV?C? is
specified. The NSVC are used as a whitelist and only matching modules
will be included in the compose.

Additionally this patch adds filtering based on inheritance: when
finding the latest module for each N:S combination, only the top tag in
which the module is tagged is used. Even if a newer build is available
somewhere deeper in the inheritance, it's not going to be used.

Example inheritance and tagged modules

    f29-compose (foo:1:2018:cafe)
    └─ f29-candidate (foo:1:2019:cafe)

The compose will use 2018 version, because it's in the topmost tag.

JIRA: COMPOSE-2685
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2018-09-03 12:19:50 +02:00
..
sources pkgset: Apply whitelist to modules in the tag 2018-09-03 12:19:50 +02:00
__init__.py Port to Python 3 2017-10-24 15:15:31 +02:00
common.py Always get old compose with release type suffix 2018-05-25 09:49:14 +02:00
pkgsets.py Use dogpile.cache to cache the listTaggedRPMS calls if possible 2018-08-30 13:21:01 +02:00
source.py Remove FSF address from comments 2016-09-23 10:26:43 +02:00