[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761079: debsources: support multiple archives

On Thu, Sep 11, 2014 at 2:55 PM, Stefano Zacchiroli wrote:

> Do you maybe already have code that does this (at list the first part,
> up to some sort of "containerized" apt-get update) as part of the census
> script? If so, mind posting to this bug report pointers to it?

Once I move the derivs census off alioth and get deriv.debian.org
setup properly, rsync will be:

rsync --timeout=60 --contimeout=60 --prune-empty-dirs --filter 'merge,
include-sources-lists' -a --no-perms --no-owner --no-group
--chmod=a+rX,ug+w,o-w,Dg+s,Da+x deriv.debian.org::deriv/census/ ./

With include-sources-lists being a file like this:

+ */
+ /var/*/sources.list
- *

Containerizing apt-get update simply needs pointing the APT_CONFIG
environment variable at an appropriate apt configuration file. chdist
from devscripts can do it and in addition I have such a setup in the
derivs census scripts:




Reply to: