0409e69 Rewrite parse_cid to be a lot more sophisticated

Authored and Committed by adamwill 7 years ago
    Rewrite parse_cid to be a lot more sophisticated
    
    What we had was relying a lot on things that happen to be true
    of Fedora compose IDs, but aren't part of the rules for compose
    IDs in general at all. This should come a lot closer to being
    a 'generic' compose ID parser that can handle almost anything
    that conforms to the rules productmd enforces. It should handle
    layered products, type suffixes, and RHEL-ish versions.
    
    As part of this, we correct the fake compose ID for the live
    respins; since we're saying the release type for those composes
    is updates, the compose ID must have -updates- in it.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+104 -18
file modified
+1 -1
file modified
+79 -16
file modified
+6 -3