bodhi/masher.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
New commits: commit 892aa8819a827e1f774dc4201b792694b6115909 Author: Luke Macken lmacken@redhat.com Date: Thu Oct 28 13:28:47 2010 -0400
Don't update security bug titles when we resume pushes
diff --git a/bodhi/masher.py b/bodhi/masher.py index b47b8ed..fbe9161 100644 --- a/bodhi/masher.py +++ b/bodhi/masher.py @@ -653,11 +653,12 @@ class MashTask(Thread): log.debug("Builds look OK to me")
# Update all bug titles for security updates - log.info('Updating bug titles for security updates') - for update in self.updates: - if update.type == 'security': - for bug in update.bugs: - bug.fetch_details() + if not self.resume: + log.info('Updating bug titles for security updates') + for update in self.updates: + if update.type == 'security': + for bug in update.bugs: + bug.fetch_details()
# Move koji build tags if not self.resume and len(self.updates):
commit ebbb3f9a5ab9941cde1da0a2fc49f4f91642651e Author: Luke Macken lmacken@redhat.com Date: Thu Oct 28 13:28:24 2010 -0400
Don't try and remove the pending koji tags when we resume pushes
diff --git a/bodhi/masher.py b/bodhi/masher.py index 4cea59b..b47b8ed 100644 --- a/bodhi/masher.py +++ b/bodhi/masher.py @@ -667,7 +667,8 @@ class MashTask(Thread): # TODO: Once AutoQA is Good To Go, then we'll want to prevent # updates from being pushed if they have not gotten the appropriate # karma from AutoQA. For now, bodhi is simply handling the pending tags. - self.remove_pending_tags() + if not self.resume: + self.remove_pending_tags()
# Mash our repositories self.mash()