Better INFO messages about modules

Relates: https://pagure.io/pungi/issue/779

Signed-off-by: Ondrej Nosek <onosek@redhat.com>
This commit is contained in:
Ondrej Nosek 2018-01-08 15:15:58 +01:00
parent 778dbaef73
commit fbeb14344f
1 changed files with 5 additions and 0 deletions

View File

@ -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)