This PR contains two commits that refactors part of the code of finding images in ErrataAdvisoryRPMsSignedHandler and LightBlue.
ErrataAdvisoryRPMsSignedHandler
LightBlue
rebased onto f5cfd5755d181ca0c23b5e7e341c99e3f950dd8d
1 new commit added
I do not think this will remove the duplicate images. I guess what you were trying to do here is: if image_key not in batches: batches[image_key] = image
I would like to see a test to cover this behavior.
This is already covered in test within this patch.
Okay, I got it.
So it might be good to use a comment here to describe the duplicate images are removed as expected.
rebased onto 010a099a3b59e5203794b79aee5bb387afa8a7a4
Add more comment to describe the code and rebased. Ready for review.
@mjia PTAL.
I guess you mean dependent image.
dependent image
I'm not quite sure how this test works though, but the syntax looks okay to me. Having said that, it would be good for someone who is familiar with freshmake to review this logic again.
Pull-Request has been merged by jkaluza
This PR contains two commits that refactors part of the code of finding images in
ErrataAdvisoryRPMsSignedHandlerandLightBlue.