From 9eb702998ed57f5b4e6a301c57ecdbf16b06ecfa Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Aug 12 2019 12:05:47 +0000 Subject: Revert "Use tag when creating an issue for failed compose" This reverts commit 9f64111532968e0800618fbbcd7f2c17166a4238. This is needed because the versions of libpagure in f30 currently don't have support for specifying tags when creating an issue. Signed-off-by: Dusty Mabe --- diff --git a/compose_tracker.py b/compose_tracker.py index e25712a..7d4b5d2 100755 --- a/compose_tracker.py +++ b/compose_tracker.py @@ -188,8 +188,11 @@ class Consumer(object): # pull only part of the compose ID for the tag to set tag = re.search('(.*)-\d{8}', msg['compose_id']).group(1) + #TODO figure out how to set tag on an issue + # Should be able to do this now https://pagure.io/libpagure/issue/31 + if self.token: - self.pg.create_issue(title=title, content=content, tags=tag) + self.pg.create_issue(title=title, content=content) # The code in this file is expected to be run through fedora messaging # However, you can run the script directly for testing purposes. The