dcavalca / pungi-fedora

Forked from pungi-fedora 5 months ago
Clone

173467a metadata archive: include labels in series file

Authored and Committed by adamwill 7 months ago
    metadata archive: include labels in series file
    
    I went back to fedfind to try and rework it around the new archive
    stuff, and realized we're still missing a way to do cid_from_label
    - that is, if we know a compose's label and release, work out its
    compose ID.
    
    Here's a way to do that! For labelled composes, we write the
    label as well as the compose ID to the series file. So if you need
    to do cid_from_label you can just read the series file, find the
    line with the label you want on it, and read the first word in
    that line.
    
    If you just want the series of compose IDs, you just have to
    split each line and take only the first word.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1