summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-02-11 10:49:59 -0500
committerJesse Keating <jkeating@redhat.com>2008-02-11 10:49:59 -0500
commitf9915c07706c9e2e6ea359bb34005555d823ebe6 (patch)
treedcce734ca0849ba4d879ecc8d2d12299d9960c9c
parentad9b650c83eb2a18c34cd7fa46901fa776508ea1 (diff)
downloadreleng-f9915c07706c9e2e6ea359bb34005555d823ebe6.tar.gz
releng-f9915c07706c9e2e6ea359bb34005555d823ebe6.tar.xz
releng-f9915c07706c9e2e6ea359bb34005555d823ebe6.zip
Add a blacklist capability
-rwxr-xr-xscripts/need-rebuild-gcc43.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/need-rebuild-gcc43.py b/scripts/need-rebuild-gcc43.py
index 3217616..d5e1994 100755
--- a/scripts/need-rebuild-gcc43.py
+++ b/scripts/need-rebuild-gcc43.py
@@ -6,6 +6,11 @@
import koji
import datetime
+## releng folks, update the blacklist below for packages that the maintainer
+## wishes to opt-out of autorebuilding.
+
+blacklist = []
+
kojisession = koji.ClientSession('http://koji.fedoraproject.org/kojihub')
tocheck = []
needbuild = []
@@ -27,6 +32,8 @@ for build in f9builds:
checknum = len(tocheck)
for build in tocheck:
+ if build['name'] in blacklist:
+ continue
print "Checking %s (%s of %s)" % (build['nvr'], tocheck.index(build)+1, checknum)
if not build['task_id']:
rpms = kojisession.listRPMs(buildID=build['build_id'])