churchyard / centos / centpkg

Forked from centos/centpkg 13 days ago
Clone

a9cb43 Add determine_rhel_state() and does_branch_exist()

Authored and Committed by sgallagh 2 months ago
    Add determine_rhel_state() and does_branch_exist()
    
    These replace determine_active_y_version and does_divergent_branch_exist()
    
    The return value from determine_rhel_state checks for both Product Pages
    state and the presence of the prior release branch to return a complete
    set of information about how the current cXs branch will behave.
    
    This patch updates the cli.request_current_state() and cli._build()
    functions to use these two new utility features. It also refactors those
    two functions to reuse code better.
    
    Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
    
        
file modified
+73 -142
file modified
+278 -57