[prev in list] [next in list] [prev in thread] [next in thread]
List: debian-devel
Subject: Re: Find complete set of debs
From: Neil Williams <linux () codehelp ! co ! uk>
Date: 2007-09-06 17:33:50
Message-ID: 20070906183350.9ff12ee1.linux () codehelp ! co ! uk
[Download RAW message or body]
On Thu, 6 Sep 2007 15:45:28 +0200
Adrian von Bidder <avbidder@fortytwo.ch> wrote:
> How can I (more or less efficiently - I do have a script but it's
> very crude and probably buggy) download all .debs (and for bonus
> points the source pkgs, too) that belong to some .deb that I have
> (same src package, same version)?
You mean each architecture?
apt-cross is one start - it will be easier with the new rewrite (0.2.9)
but that isn't ready for an upload yet. It isn't something it was
designed to do - it would mean a lot of cache downloads for the first
run but much quicker for subsequent runs.
The alternative is that the filename in each mirror is predictable for
each arch - a simple reg exp should be sufficient. If you like working
in Perl, you could look at the SVN code for apt-cross
(www.emdebian.org) and adapt that. (The new version works with
libapt-pkg-perl and apt-get.)
The cache handling in that code could also detect the .dsc and that
would provide the rest of the data.
Just some ideas.
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
[Attachment #3 (application/pgp-signature)]
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic