#229 Handle multiple versions of the same package while validating the built container.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker more-versions-advisory  into  master

Download 229.patch

When container is built, Freshmaker checks if the RPMs in a container match the versions in Errata advisory. This is here to ensure that the container image contains the fixed packages.

Errata advisory can contain multiple versions of the same package, for example foo-1-1 and foo-2-1. In this case, Freshmaker always marked the build as failed, because it didn't count with the same package appearing twice in the advisory.

With this PR, Freshmaker groups NVRs from advisory based on their names and marks the build as failed only if the container image has package in a version not appearing in advisory.

Pull-Request has been merged by jkaluza

Metadata