#445 Only get the RHEL release when rhel_release_prefix is set in Errata.get_builds
Merged by mprahl. Opened by mprahl.
mprahl/freshmaker get-builds-check  into  master

Download 445.patch

It seems that the errata_rhel_release_prefix configuration defaults to unset, it's not set in our Freshmaker deployment, and no place in the Freshmaker code calls get_builds with the keyword argument rhel_release_prefix. With this in mind, let's optimize get_builds so we can skip some Errata Tool REST API calls when rhel_release_prefix is not set.

rebased onto a129d33b5fd793681ce1ede51ebe241fbfb3197f

I think we used that in the past for RHSCL advisories which shipped RHEL7 and RHEL6 in the single advisory and in that time, there was issue with RHEL6 metadata. We don't need it these days.

Commit e5973f38 fixes this pull-request

Pull-Request has been merged by mprahl

Pull-Request has been merged by mprahl

Metadata