From b2052bbc77d18773573766c2e09d7ccd1602783d Mon Sep 17 00:00:00 2001
From: Pat Riehecky <riehecky(a)fnal.gov>
Date: Tue, 12 Nov 2013 10:18:53 -0600
Subject: [PATCH] Added missing koji tags to email from koji-gc
---
util/koji-gc | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/util/koji-gc b/util/koji-gc
index 424b0fb..33f2da3 100755
--- a/util/koji-gc
+++ b/util/koji-gc
@@ -423,6 +423,10 @@ refer to the document linked above for
instructions."""
msg['From'] = options.from_addr
msg['To'] = "%s@%s" % owner_name, options.email_domain #XXX!
msg['X-Koji-Builder'] = owner_name
+ msg['X-Koji-Tag'] = options.trashcan_tag
+ msg['X-Koji-Status'] = 'trashing'
+ msg['X-Koji-Package'] = []
+ msg['X-Koji-Package'].extend([b['name'] for b in builds])
if options.test:
if options.debug:
print str(msg)
--
1.7.1
--
Pat Riehecky
Scientific Linux developer
http://www.scientificlinux.org/