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

Bug#348971: qa.debian.org: please consider converting PTS to a CSS layout



On 01/02/06 at 09:43 +0100, Marc Haber wrote:
> On Wed, Feb 01, 2006 at 09:39:54AM +0100, Florian Weimer wrote:
> > * Marc Haber:
> > > I want to check whether a given package has migrated from unstable to
> > > testing in a cron job, and this cron job should be able to run on a
> > > host that doesn't have a local archive.
> > 
> > With the arrivale of Packages diffs, it's actually rather cheap (in
> > terms of network bandwidth) to maintain a local mirror of the archive
> > metadata.  AFAICS, you only need the Sources files, so the disk space
> > consumption shouldn't be an obstacle, either.
> 
> Having never really understood the rather sparsely documented apt.conf
> syntax, I am reluctant to use apt to keep metadata current on a system
> without root privileges. Additionally, parsing the Sources file is
> another challenge. And again additionally, I don't want to get alerts
> just because my mirror is down or desynced.

Have a look at MultiDistroTools[0]. I use a custom apt config to be able
to run apt-get update as normal user for different distributions. It
should be easy to adapt it to do what you want.

[0] https://wiki.ubuntu.com/MultiDistroTools
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: