From fbeb14344f6335482b55f91cc2be1e35d95dc985 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Mon, 8 Jan 2018 15:15:58 +0100 Subject: [PATCH] Better INFO messages about modules Relates: https://pagure.io/pungi/issue/779 Signed-off-by: Ondrej Nosek --- pungi/phases/pkgset/sources/source_koji.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pungi/phases/pkgset/sources/source_koji.py b/pungi/phases/pkgset/sources/source_koji.py index 4dbcf1f2..98eed625 100644 --- a/pungi/phases/pkgset/sources/source_koji.py +++ b/pungi/phases/pkgset/sources/source_koji.py @@ -252,6 +252,11 @@ def populate_global_pkgset(compose, koji_wrapper, path_prefix, event_id): variant_tags[variant].append(tag) if tag not in compose_tags: compose_tags.append(tag) + + module_msg = "Module {module} in variant {variant} will use Koji tag {tag}.".format( + variant=variant, tag=tag, module=module["name"]) + compose.log_info("%s" % module_msg) + if pdc_modules: with open(pdc_module_file, 'w') as f: json.dump(pdc_modules, f)