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

Re: machine-readable mirror list

Simon Paillard  at "Wed, 5 Dec 2012 23:58:23 +0100" wrote:
 SP> Hi,

 SP> If you want apt-spy to read the mirror list in rfc822 directly and avoid parsing:
 SP> http://cvs.debian.org/webwml/webwml/english/mirror/Mirrors.masterlist
 SP> http://mirror-master.debian.org/staticlist/Mirrors.masterlist

 SP> On Sat, Mar 12, 2011 at 02:49:47PM +0100, Simon Paillard wrote:
 >> On Thu, Mar 10, 2011 at 05:50:26PM +0800, Paul Wise wrote:
 >> > On Thu, Mar 10, 2011 at 5:30 PM, Peter Palfrader <weasel@debian.org> wrote:
 >> > > On Thu, 10 Mar 2011, Paul Wise wrote:
 SP> [..]
 >> > >> We have had the mirrors list on each mirror for a long time:
 >> > >> ftp://ftp.debian.org/debian/README.mirrors.txt
 >> > >
 >> > > That's not exactly machine readable tho.
 >> > 
 >> > apt-spy consumes it OK, usually. You are right though; it could
 >> > definitely be made into a better format, .822 or YAML or JSON or any
 >> > standard format.
Even if this is still true, if I find out a file that apt-spy can read
without loosing time in solving mirrors and aliases I'll try to use
it. I think this should be a good work for Christmas holidays.


Stefano Canepa aka sc: sc@linux.it - http://www.stefanocanepa.it
Three great virtues of a programmer: laziness, impatience and hubris.
Le tre grandi virtù di un programmatore: pigrizia, impazienza e
arroganza. (Larry Wall)

Reply to: