bkabrda / pagure

Forked from pagure 6 years ago
Clone

abcbf77 Add a status field to flags

Authored and Committed by pingou 6 years ago
    Add a status field to flags
    
    This status is used in addition to the percentage making it optional.
    For flags on commit the status is mandatory, on pull-requests it is
    optional and will be inferred from the percentage specified (or not).
    
    This keeps the backward compatibility on the API endpoint to flag PR
    while enforcing the new behavior for the new API endpoint for commits.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+34 -13
file modified
+20 -12
file modified
+19 -3
file modified
+5 -1
file modified
+10 -2