frostyx / copr / copr

Forked from copr/copr 7 years ago
Clone

55ff59d [frontend] fix finished status for SRPM builds, hopefully last time

3 files Authored by frostyx 5 years ago, Committed by praiskup 5 years ago,
    [frontend] fix finished status for SRPM builds, hopefully last time
    
    There was a mistake in the test and therefore a finished status
    could be wrong without us noticing. The original test didn't really
    tested SRPM builds because even though we changed `source_status`,
    the build has build_chroots so it wasn't correctly representing
    an SRPM build.
    
    I am creating a constant defining the list of finished states,
    so it can be easily used within `finished` properties for several
    models.