#116 Track ArtifactBuild's original_nvr and rebuilt_nvr. Fixes bad koji_parent_nvr value when rebuilding container images.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker original-nvr  into  master

Download 116.patch
  • Add original_nvr and rebuilt_nvr to ArtifactBuild.
  • Change the ErrataAdvisoryRPMSSigned handler to set build.name to name part of NVR,
    build.original_nvr to NVR and to generate build.rebuilt_nvr using new
    utils.get_rebuilt_nvr() method.
  • Properly set the NVR of parent images to build.rebuilt_nvr instead of using
    original NVR.

rebased onto 61af77bcd997dce98d486daff118c25636fd6aee

:+1:

Sorry for the delay!

Looks solid.

It will be very nice to have those rebuilt/original nvrs in the API response.

We have them in the API response and you can also filter using them :).

Pull-Request has been merged by jkaluza

Metadata