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

machine-readable mirror list (Re: cdn.debian.net as a project service?)



Hi,

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:
> >
> >> On Thu, Mar 10, 2011 at 5:22 PM, Peter Palfrader <weasel@debian.org> wrote:
> >> > (i.e. list of mirrors somewhere on ftp.d.o).
> >>
> >> 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.

Today the list is available in the following formats:
- today's master source rfc822:
  http://cvs.debian.org/webwml/webwml/english/mirror/Mirrors.masterlist (used
  by d-i choose-mirror)
- YAML after http://teubr.eu.org/~spaillar/debian/qamirrors/Mirror-list-to-yaml.pl
  back to rfc822 using http://teubr.eu.org/~spaillar/debian/qamirrors/yaml-to-mirror-list.pl

I saw that many apt-spy netslect-apt and others try to parse html produced on
the website...

PS: debian-mirrors@lists.debian.org can be used to discuss mirrors as well.

-- 
Simon Paillard


Reply to: