#9643 Use completeAfter instead of createAfter
Merged 5 months ago by mohanboddu. Opened 5 months ago by mohanboddu.
mohanboddu/releng mass-rebuild-second-run  into  master

@@ -90,7 +90,7 @@ 

  

      # Query to see if a build has already been attempted

      # this version requires newer koji:

-     builds = kojisession.listBuilds(id, createdAfter=massrebuild['epoch'])

+     builds = kojisession.listBuilds(id, completeAfter=massrebuild['epoch'])

      newbuild = False

      # Check the builds to make sure they were for the target we care about

      for build in builds:

For second mass rebuild, we need to check if the build is completed or
not instead of created or not. Since the build is definitely created
after the epoch, we need to check if the build is completed or not.

Signed-off-by: Mohan Boddu mboddu@bhujji.com

Pull-Request has been merged by mohanboddu

5 months ago
Metadata