4ed1b66 Try hard to find the repositories for an image

Authored and Committed by lucarval 4 years ago
    Try hard to find the repositories for an image
    
    An accurate list of repositories is important to ensure the
    deduplication code works as expected.
    
    If Freshmaker has built an image in the past, it may not have been
    directly published and Lightblue won't list any repositories for it.
    In such case, try to get a list of repositories from the original NVR.
    
    Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
    
    WIP: adding intital unit tests
    
    Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
    
        
file modified
+35 -6
file modified
+101 -0