Skip to content
  • Eli Schwartz's avatar
    Preliminary work to break out svn-specific code. · d6b48bd6
    Eli Schwartz authored
    Introduce "db-functions-$VCS" which will eventually contain all
    VCS-specific code, and make this configurable in config.
    
    Move private arch_svn function and svn acl handling here, and introduce
    a new source_pkgbuild function to handle discovering PKGBUILDs from the
    configured VCS and sourcing them to extract metadata.
    
    The PKGBUILD is the only file we ever check out from version control,
    and only ever to scrape information from it, except for when we actually
    want to db-move a whole directory (which is by necessity considerably
    dependent on the VCS in use).
    
    source_pkgbuild is inspired by commits from the dbscripts rewrite,
    authored by Florian Pritz <bluewind@xinu.at>
    d6b48bd6