Update from upstream #11

Closed
soksanichenko wants to merge 158 commits from a8_updated into a8
1 changed files with 4 additions and 3 deletions
Showing only changes of commit bf28e8d50c - Show all commits

View File

@ -745,7 +745,8 @@ class KojiPackageSet(PackageSetBase):
changed = self.koji_proxy.queryHistory( changed = self.koji_proxy.queryHistory(
tables=["tag_listing", "tag_inheritance"], tables=["tag_listing", "tag_inheritance"],
tag=tag, tag=tag,
afterEvent=old_koji_event, afterEvent=min(koji_event, old_koji_event),
beforeEvent=max(koji_event, old_koji_event) + 1,
) )
if changed["tag_listing"]: if changed["tag_listing"]:
self.log_debug("Builds under tag %s changed. Can't reuse." % tag) self.log_debug("Builds under tag %s changed. Can't reuse." % tag)
@ -760,8 +761,8 @@ class KojiPackageSet(PackageSetBase):
changed = self.koji_proxy.queryHistory( changed = self.koji_proxy.queryHistory(
tables=["tag_listing", "tag_inheritance"], tables=["tag_listing", "tag_inheritance"],
tag=t["name"], tag=t["name"],
afterEvent=old_koji_event, afterEvent=min(koji_event, old_koji_event),
beforeEvent=koji_event + 1, beforeEvent=max(koji_event, old_koji_event) + 1,
) )
if changed["tag_listing"]: if changed["tag_listing"]:
self.log_debug( self.log_debug(