pkgset: Allow filtering modules from Koji tags

Add a configuration option to enable skipping some modules found in the
configured tag.

Fixes: https://pagure.io/pungi/issue/1260
JIRA: COMPOSE-3794
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2019-09-23 14:31:57 +02:00
parent 44e551317a
commit 21d45eb243
4 changed files with 156 additions and 25 deletions

View file

@ -700,6 +700,16 @@ Options
See :ref:`additional_packages <additional_packages>` for details about
package specification.
**filter_modules**
(*list*) -- modules to be excluded from a variant and architecture;
format: ``[(variant_uid_regex, {arch|*: [name:stream]})]``
Both name and stream can use shell-style globs. If stream is omitted, all
streams are removed.
This option only applies to modules taken from Koji tags, not modules
explicitly listed in variants XML without any tags.
**filter_system_release_packages**
(*bool*) -- for each variant, figure out the best system release package
and filter out all others. This will not work if a variant needs more than