Bug#761079: debsources: support multiple archives

2014-09-11 Thread Stefano Zacchiroli
On Thu, Sep 11, 2014 at 01:42:20PM +0800, Paul Wise wrote:
 On Wed, Sep 10, 2014 at 11:56 PM, Stefano Zacchiroli wrote:
 
  (e.g., derivatives).
 
 For derivatives, the best thing will be replacing debmirror with
 rsyncing sources.list files (and or apt directories) from the derivs
 census plus apt-get update and apt-get source.

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?

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  z...@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »


signature.asc
Description: Digital signature


Bug#761079: debsources: support multiple archives

2014-09-11 Thread Paul Wise
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:

https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile#n6
https://anonscm.debian.org/cgit/dex/census.git/tree/etc/apt.conf
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/get-package-lists

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#761079: debsources: support multiple archives

2014-09-10 Thread Stefano Zacchiroli
Package: qa.debian.org
Severity: normal
Control: user qa.debian@packages.debian.org
Control: usertags -1 + debsources

Debsources currently only supports one (live) archive, i.e., the main
Debian archive as available from the mirror network.  We want to support
multiple archives. The main use case is the ability to inject the
security mirror into Debian Sources, but there are others (e.g.,
derivatives).

To do so, we will need to do separate debmirror runs, one for each
archive, and decide what's the policy for running the Debsource updater
(at each archive update? periodically? etc.)

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  z...@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »


signature.asc
Description: Digital signature


Bug#761079: debsources: support multiple archives

2014-09-10 Thread Paul Wise
On Wed, Sep 10, 2014 at 11:56 PM, Stefano Zacchiroli wrote:

 (e.g., derivatives).

For derivatives, the best thing will be replacing debmirror with
rsyncing sources.list files (and or apt directories) from the derivs
census plus apt-get update and apt-get source.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org