summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-02-08 13:21:40 -0500
committerJesse Keating <jkeating@redhat.com>2008-02-08 13:21:40 -0500
commitede4c31b652baf09904a93607a9ed5cba5eb5338 (patch)
tree8f82d0ca5bfabc82d73e014abdcbb5178093a676
parentadc10faa8c1130360894bc27a512a446a0b2c71a (diff)
downloadreleng-ede4c31b652baf09904a93607a9ed5cba5eb5338.tar.gz
releng-ede4c31b652baf09904a93607a9ed5cba5eb5338.tar.xz
releng-ede4c31b652baf09904a93607a9ed5cba5eb5338.zip
Add owner information to the output.
-rwxr-xr-xscripts/need-rebuild-gcc43.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/need-rebuild-gcc43.py b/scripts/need-rebuild-gcc43.py
index fb4966c..ffdb8b8 100755
--- a/scripts/need-rebuild-gcc43.py
+++ b/scripts/need-rebuild-gcc43.py
@@ -9,8 +9,13 @@ kojisession = koji.ClientSession('http://koji.fedoraproject.org/kojihub')
tocheck = []
needbuild = []
reallyneedbuild = []
+ownermap = {}
f9builds = kojisession.listTagged('dist-f9', inherit=True, latest=True)
+pkgs = kojisession.listPackages('dist-f9', inherited=True)
+
+for pkg in pkgs:
+ ownermap[pkg['package_name']] = pkg['owner_name']
for build in f9builds:
if build['creation_time'] < '2008-01-30 15:22:10.000000':
@@ -44,7 +49,7 @@ rebuildnames = []
for build in needbuild:
if not build in reallyneedbuild:
reallyneedbuild.append(build)
- rebuildnames.append(build['name'])
+ rebuildnames.append("%s %s" % (ownermap[build['name']], build['name']))
rebuildnames.sort()
for build in rebuildnames: