Skip to content
Snippets Groups Projects
  • Antoine Lambert's avatar
    af24960b
    Add save-bulk lister to check origins prior their insertion in database · af24960b
    Antoine Lambert authored
    This new and special lister enables to verify a list of origins to archive
    provided by users (for instance through the Web API).
    
    Its purpose is to avoid polluting the scheduler database with origins that
    cannot be loaded into the archive.
    
    Each origin is identified by an URL and a visit type. For a given visit type
    the lister is checking if the origin URL can be found and if the visit type
    is valid.
    
    The supported visit types are those for VCS (bzr, cvs, hg, git and svn) plus
    the one for loading a tarball content into the archive.
    
    Accepted origins are inserted or upserted in the scheduler database.
    
    Rejected origins are stored in the lister state.
    
    Related to #4709
    af24960b
    History
    Add save-bulk lister to check origins prior their insertion in database
    Antoine Lambert authored
    This new and special lister enables to verify a list of origins to archive
    provided by users (for instance through the Web API).
    
    Its purpose is to avoid polluting the scheduler database with origins that
    cannot be loaded into the archive.
    
    Each origin is identified by an URL and a visit type. For a given visit type
    the lister is checking if the origin URL can be found and if the visit type
    is valid.
    
    The supported visit types are those for VCS (bzr, cvs, hg, git and svn) plus
    the one for loading a tarball content into the archive.
    
    Accepted origins are inserted or upserted in the scheduler database.
    
    Rejected origins are stored in the lister state.
    
    Related to #4709