summaryrefslogtreecommitdiffstats
path: root/fedora-easy-karma.py
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2010-05-31 20:29:22 +0200
committerTill Maas <opensource@till.name>2010-05-31 20:29:22 +0200
commit0e80f0962b6bfcc83950c40ce2d7dd1a161990b8 (patch)
treea1e081639ca6496e2274b89fb292aeaa59d4f1a8 /fedora-easy-karma.py
parent87467edb298072f72c690ff28527c3cc1a46b6d6 (diff)
downloadfedora-easy-karma-0e80f0962b6bfcc83950c40ce2d7dd1a161990b8.tar.gz
fedora-easy-karma-0e80f0962b6bfcc83950c40ce2d7dd1a161990b8.tar.xz
fedora-easy-karma-0e80f0962b6bfcc83950c40ce2d7dd1a161990b8.zip
Consider pending updates that are going to testing
This allows to provide feedback for rpms installed from koji before the update is pushed to the repo.
Diffstat (limited to 'fedora-easy-karma.py')
-rwxr-xr-xfedora-easy-karma.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py
index 940a814..cff1ac5 100755
--- a/fedora-easy-karma.py
+++ b/fedora-easy-karma.py
@@ -155,6 +155,9 @@ class FedoraEasyKarma(object):
# can't query for requestless as of python-fedora 0.3.18
# (request=None results in no filtering by request)
testing_updates = [x for x in testing_updates if not x["request"]]
+ # extend list of updates with updates that are going to testing to
+ # support manually installed rpms from koji
+ testing_updates.extend(bc.query(release=release, status="pending", request="testing", limit=1000)["updates"])
if self.options.bodhi_update_cache:
try:
os.makedirs(self.options.bodhi_cachedir)