#63 Add LightBlue.find_images_to_rebuild(...) which returns images in the batches ordered by the rebuild order.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker lb2  into  master

Download 63.patch
no initial comment

2 new commits added

  • Add LightBlue.find_images_to_rebuild(...) which returns images in the batches ordered by the rebuild order.
  • Add LightBlue.find_parent_images_with_package to get the list of parent images containing the package

You should handle the case when this section doesn't exist - it can be None so you'd throw an exception here

You are assuming here that dockerfile_url was actually filled

rebased

This will add into batch even images with identical repo/hash. That's because 2 layered images could be built on two different NVRs of the same base image built from identical hash (due to OSBS automatically bumping release). I think we should de-duplicate somewhere here and only rebuild once

2 new commits added

  • Add LightBlue.find_images_to_rebuild(...) which returns images in the batches ordered by the rebuild order.
  • Add LightBlue.find_parent_images_with_package to get the list of parent images containing the package

rebased

You should handle the case when this section doesn't exist - it can be None so you'd throw an exception here

You are assuming here that dockerfile_url was actually filled

This will add into batch even images with identical repo/hash. That's because 2 layered images could be built on two different NVRs of the same base image built from identical hash (due to OSBS automatically bumping release). I think we should de-duplicate somewhere here and only rebuild once

rebased

rebased

Pull-Request has been merged by jkaluza

Metadata