jkaluza / odcs

Forked from odcs 6 years ago
Clone

0eed98a Reuse last koji event

Authored and Committed by cqi 5 years ago
    Reuse last koji event
    
    While resolving a compose before generating it from a particular koji
    tag, if tag and its parents through out its inheritance have not changed
    since last koji event, reuse that koji event again instead of call API
    to get a new one.
    
    A module dict is used as a simple cache during ODCS execution. It maps
    koji event ID from a koji tag.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>
    
        
file modified
+43 -10
file modified
+57 -0