tkopecek / koji

Forked from koji 7 years ago
Clone

de37296 Add utility function to watch builds

2 files Authored by Otto Urpelainen 2 years ago, Committed by tkopecek 2 years ago,
    Add utility function to watch builds
    
    External tools that interact with Koji
    need to wait for builds to appear in a repo.
    For example, Fedora cli tools 'bodhi' and 'fedpkg'
    can create buildroot overrides,
    which only become useful
    after the override's build appears in the correct repo.
    At the moment, 'bodhi' waits for a repo
    by invoking the 'koji wait-repo' cli tool
    while 'fedpkg' does not wait at all.
    In order to make it easier for such tools to wait for a repo,
    the wait implementation from 'koji wait-repo'
    is moved to koji_cli.lib namespace
    where it is available for use through Python import.
    
        
file modified
+7 -34
file modified
+57 -0