From 60283004606b58aac41d48b7aebc9636733c49a7 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Apr 16 2019 14:55:03 +0000 Subject: Allow generating repos with no sigkeys When configuration doesn't specify sigkeys for a tag then we should allow generating dist-repos for that tag with unsigned packages. Required by CoreOS continuous builds, see: https://pagure.io/releng/issue/8165 --- diff --git a/tag2distrepo/__init__.py b/tag2distrepo/__init__.py index 357914a..c6d4014 100644 --- a/tag2distrepo/__init__.py +++ b/tag2distrepo/__init__.py @@ -99,7 +99,7 @@ class Tag2DistRepoConsumer(fedmsg.consumers.FedmsgConsumer): 'multilib': False, 'split_debuginfo': False, 'skip_missing_signatures': False, - 'allow_missing_signatures': False + 'allow_missing_signatures': not keys, } task_id = client.distRepo(tag, keys, **opts)