Re: cdn.debian.net as a project service?

2012-02-26 Thread Raphael Geissert
[Yay for replying nearly a year later. Sorry about that, I completely missed your email.] Michael Vogt wrote: > On Sun, Mar 20, 2011 at 01:35:23AM -0600, Raphael Geissert wrote: >> P.S. apt also provides a "mirror" method (just like http, ftp, etc) but I >> consider it to be suboptimal and a poor

Re: cdn.debian.net as a project service?

2011-04-03 Thread Stefano Canepa
Paul Wise at "Fri, 11 Mar 2011 11:04:48 +0800" wrote: PW> On Fri, Mar 11, 2011 at 7:11 AM, Adam Borowski wrote: >> Another strange thing about apt-spy is that it picks a subset of mirrors >> without an apparent rule.  It claims it uses >> http://http.us.debian.org/debian/README.mirrors.txt

Re: cdn.debian.net as a project service?

2011-04-03 Thread Stefano Canepa
Adam Borowski at "Fri, 11 Mar 2011 00:11:40 +0100" wrote: AB> Another strange thing about apt-spy is that it picks a subset of mirrors AB> without an apparent rule. It claims it uses AB> http://http.us.debian.org/debian/README.mirrors.txt yet it ignores most (but AB> not all!) of non-count

Re: cdn.debian.net as a project service?

2011-03-30 Thread Javier Fernández-Sanguino Peña
On Fri, Mar 11, 2011 at 12:11:40AM +0100, Adam Borowski wrote: > > > > Package: netselect-apt > > > > Description: speed tester for choosing a fast Debian mirror > > Does it actually work for anyone? I just tried it from machines at four > different locations on 3½ ISPs; two with IPv6+IPv4, two I

Bug#619586: apt: [apt-transport-mirror] what(): std::bad_alloc (was: Re: cdn.debian.net as a project service?)

2011-03-25 Thread Luca Capello
Package: apt Version: 0.8.13 Severity: normal Hi there! The discussion started on debian-devel@l.d.o, specifically: On Thu, 10 Mar 2011 20:55:47 +0100, Michael Vogt wrote: > On Thu, Mar 10, 2011 at 10:22:29AM +01

Re: cdn.debian.net as a project service?

2011-03-21 Thread Alexander Wirt
Michael Vogt schrieb am Monday, den 21. March 2011: > On Sun, Mar 20, 2011 at 01:35:23AM -0600, Raphael Geissert wrote: > [..] > > P.S. apt also provides a "mirror" method (just like http, ftp, etc) but I > > consider it to be suboptimal and a poor way to tackle the problem. > > Why exactly do y

Re: cdn.debian.net as a project service?

2011-03-21 Thread Michael Vogt
On Sun, Mar 20, 2011 at 01:35:23AM -0600, Raphael Geissert wrote: [..] > P.S. apt also provides a "mirror" method (just like http, ftp, etc) but I > consider it to be suboptimal and a poor way to tackle the problem. Why exactly do you feel this way? What problems do you see with it? I see some

Re: cdn.debian.net as a project service?

2011-03-20 Thread Raphael Geissert
Peter Palfrader wrote: > On Sun, 20 Mar 2011, Lars Wirzenius wrote: >> There's one thing that worries me, though: it requires there to be one >> central server that can be used to do a redirect. That's a single point >> of failure, which is risky in various ways. Would it be possible to take >> all

Re: cdn.debian.net as a project service?

2011-03-20 Thread Raphael Geissert
Peter Palfrader wrote: > On Sun, 20 Mar 2011, Raphael Geissert wrote: >> My project is, at the moment, stuck in the middle of a rewrite to use >> Plack and the need of using something like Md's zebra-dump-parser to >> better make a decision of what is the best mirror to handle the request. > > Ano

Re: cdn.debian.net as a project service?

2011-03-20 Thread Peter Palfrader
On Sun, 20 Mar 2011, Raphael Geissert wrote: > Squeeze's apt supports http redirections, making the whole task easier and > allowing a great number of users to benefit from the new service. > > My project is, at the moment, stuck in the middle of a rewrite to use Plack > and the need of using s

Re: cdn.debian.net as a project service?

2011-03-20 Thread Peter Palfrader
On Sun, 20 Mar 2011, Lars Wirzenius wrote: > On su, 2011-03-20 at 01:35 -0600, Raphael Geissert wrote: > > Compared to a DNS-based mirror chooser, one based on HTTP provides the > > following advantages: > > It does sound like your solution is better in many ways than the > cdn.debian.net approa

Re: cdn.debian.net as a project service?

2011-03-20 Thread Lars Wirzenius
On su, 2011-03-20 at 01:35 -0600, Raphael Geissert wrote: > Compared to a DNS-based mirror chooser, one based on HTTP provides the > following advantages: It does sound like your solution is better in many ways than the cdn.debian.net approach. There's one thing that worries me, though: it requi

Re: cdn.debian.net as a project service?

2011-03-20 Thread Raphael Geissert
Martin Zobel-Helas wrote: > On Thu Mar 10, 2011 at 10:22:29 +0100, Peter Palfrader wrote: >> I'd really like to see support for sane mirror selection in apt itself, >> possibly with archive support (i.e. list of mirrors somewhere on >> ftp.d.o). That would allow apt to for instance retry on a diff

Re: Re: cdn.debian.net as a project service?

2011-03-16 Thread Paul Judd
Just wanted to point out as a user that the current system needs to work also as some isp offer free access mirrors or a mirror groups, ie partner isp's mirrors that are also part of `free usage`. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe".

Re: cdn.debian.net as a project service?

2011-03-15 Thread Michael Vogt
On Fri, Mar 11, 2011 at 10:29:08AM +0100, Stefano Zacchiroli wrote: > On Thu, Mar 10, 2011 at 08:55:47PM +0100, Michael Vogt wrote: > > One missing feature is that it needs to send along info about the > > release/arch its looking for or the returned list needs to be extended > > to include this in

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

2011-03-12 Thread Joey Hess
Simon Paillard wrote: > 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-y

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

2011-03-12 Thread Simon Paillard
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 wrote: > > On Thu, 10 Mar 2011, Paul Wise wrote: > > > >> On Thu, Mar 10, 2011 at 5:22 PM, Peter Palfrader wrote: > >> > (i.e. list of mirrors somewhere on ftp.d.o). > >> > >> We hav

Re: cdn.debian.net as a project service?

2011-03-12 Thread jidanni
...and when it happens it takes out apt's index files for several hours # apt-cache policy coreutils coreutils: Installed: 8.5-1 Candidate: 8.5-1 Version table: *** 8.5-1 0 100 /var/lib/dpkg/status -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of

Re: cdn.debian.net as a project service?

2011-03-12 Thread jidanni
> "JV" == James Vega writes: JV> As for #616489, that doesn't make any sense. How can apt know the hash sums JV> don't match if it hasn't downloaded the file in order to compute the hash sum JV> for comparison? I don't know. All I know is it also seems to happen at ftp.us.debian.org too. W

Re: cdn.debian.net as a project service?

2011-03-11 Thread James Vega
On Sat, Mar 12, 2011 at 10:14:40AM +0800, jida...@jidanni.org wrote: > Speaking about mirrors. I gave up on using them for apt-get update and > haven't looked back since. > * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616064 > * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616489 >

Re: cdn.debian.net as a project service?

2011-03-11 Thread jidanni
Speaking about mirrors. I gave up on using them for apt-get update and haven't looked back since. * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616064 * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616489 Works for me! -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.

Re: cdn.debian.net as a project service?

2011-03-11 Thread Eduard Bloch
#include * Michael Vogt [Fri, Mar 11 2011, 09:33:40AM]: > > Looks like the main thing missing for this to work is an > > implementation of the server? > > Yeah. There is a implementation around launchpad of the simple > protocol, I don't know much about it, but cache-country-mirrors.txt is > pro

Re: cdn.debian.net as a project service?

2011-03-11 Thread Michael Vogt
On Fri, Mar 11, 2011 at 12:20:14PM +0100, Peter Palfrader wrote: > On Thu, 10 Mar 2011, Michael Vogt wrote: > > On Thu, Mar 10, 2011 at 10:22:29AM +0100, Peter Palfrader wrote: > > > On Thu, 10 Mar 2011, Lars Wirzenius wrote: > > > > What would it take to get cdn.debian.net become a service provide

Re: cdn.debian.net as a project service?

2011-03-11 Thread Peter Palfrader
On Thu, 10 Mar 2011, Michael Vogt wrote: > On Thu, Mar 10, 2011 at 10:22:29AM +0100, Peter Palfrader wrote: > > On Thu, 10 Mar 2011, Lars Wirzenius wrote: > > > What would it take to get cdn.debian.net become a service provided by > > > the project? In other words, cdn.debian.org, instead of cdn.d

Re: cdn.debian.net as a project service?

2011-03-11 Thread Yasuhiro Araki
Michael and Stefano, I agree for making GSoC proposal. Could you write it for client-side apt modification? I understand we need client side apt optimization. New apt client can use more optimized protocol than HTTP/FTP. However, I think server side mirror selection is still important. Because,

Re: cdn.debian.net as a project service?

2011-03-11 Thread Stefano Zacchiroli
On Thu, Mar 10, 2011 at 08:55:47PM +0100, Michael Vogt wrote: > One missing feature is that it needs to send along info about the > release/arch its looking for or the returned list needs to be extended > to include this info. But otherwise it should be good and working. Have I looked in the wrong

Re: cdn.debian.net as a project service?

2011-03-11 Thread Michael Vogt
On Fri, Mar 11, 2011 at 11:08:15AM +0800, Paul Wise wrote: > On Fri, Mar 11, 2011 at 3:55 AM, Michael Vogt wrote: > > > There is a "mirror" method in apt since some time that is a bit of a > > combined cdn/README.mirrors approach. Its not much used and probably > > has some rough edges but should

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Fri, Mar 11, 2011 at 3:55 AM, Michael Vogt wrote: > There is a "mirror" method in apt since some time that is a bit of a > combined cdn/README.mirrors approach. Its not much used and probably > has some rough edges but should be a good starting point. > > The idea is that you have a sources.li

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Fri, Mar 11, 2011 at 11:04 AM, Paul Wise wrote: > Not nessecarily, it really depends. For example in Australia local > mirrors are much faster than US mirrors. And your ISPs mirrors are usually faster than other ISPs mirrors. Some ISPs give free access to their mirror; the mirror traffic does

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Fri, Mar 11, 2011 at 7:11 AM, Adam Borowski wrote: > Another strange thing about apt-spy is that it picks a subset of mirrors > without an apparent rule.  It claims it uses > http://http.us.debian.org/debian/README.mirrors.txt yet it ignores most (but > not all!) of non-country-primary ones.

Re: cdn.debian.net as a project service?

2011-03-10 Thread Ben Hutchings
On Fri, 2011-03-11 at 00:11 +0100, Adam Borowski wrote: > On Thu, Mar 10, 2011 at 05:12:08PM +, Lars Wirzenius wrote: > > I like the idea of having apt choose the mirror, rather than the admins > > of cdn.debian.net. It lessens the centralization. Also, it would require > > fewer changes from m

Re: cdn.debian.net as a project service?

2011-03-10 Thread gregor herrmann
On Fri, 11 Mar 2011 00:11:40 +0100, Adam Borowski wrote: > > On the other hand, we don't necessarily have to be able to pick the > > optimal mirror. It's probably good enough to pick a good one. > Right, with bottlenecks usually being at the last mile, all good mirrors > will have nearly the same

Re: cdn.debian.net as a project service?

2011-03-10 Thread Adam Borowski
On Thu, Mar 10, 2011 at 05:12:08PM +, Lars Wirzenius wrote: > I like the idea of having apt choose the mirror, rather than the admins > of cdn.debian.net. It lessens the centralization. Also, it would require > fewer changes from mirror admins to participate. What do you propose apt to do? *

Re: cdn.debian.net as a project service?

2011-03-10 Thread gregor herrmann
On Thu, 10 Mar 2011 10:22:29 +0100, Peter Palfrader wrote: > I'd really like to see support for sane mirror selection in apt itself, > possibly with archive support (i.e. list of mirrors somewhere on > ftp.d.o). That would allow apt to for instance retry on a different > server if the first one i

Re: cdn.debian.net as a project service?

2011-03-10 Thread Michael Vogt
On Thu, Mar 10, 2011 at 10:22:29AM +0100, Peter Palfrader wrote: > On Thu, 10 Mar 2011, Lars Wirzenius wrote: > > What would it take to get cdn.debian.net become a service provided by > > the project? In other words, cdn.debian.org, instead of cdn.debian.net. [..] > I'd really like to see support

Re: cdn.debian.net as a project service?

2011-03-10 Thread Lars Wirzenius
I like the idea of having apt choose the mirror, rather than the admins of cdn.debian.net. It lessens the centralization. Also, it would require fewer changes from mirror admins to participate. On to, 2011-03-10 at 21:55 +0800, Paul Wise wrote: > On Thu, Mar 10, 2011 at 9:46 PM, The Fungi wrote:

Re: cdn.debian.net as a project service?

2011-03-10 Thread Joey Hess
The Fungi wrote: > On Thu, Mar 10, 2011 at 01:06:03PM +, Lars Wirzenius wrote: > > If one has or downloads a list of mirrors, what's a good way to > > choose the best one? Ping time? > > Package: netselect-apt > Description: speed tester for choosing a fast Debian mirror > This package provid

Re: cdn.debian.net as a project service?

2011-03-10 Thread Andrei Popescu
On Jo, 10 mar 11, 21:55:57, Paul Wise wrote: > > > > Package: netselect-apt > > Description: speed tester for choosing a fast Debian mirror > > apt-spy is another one. It downloads Packages files from all the > mirrors in a region or country and reports the fastest. In my experience you have to u

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Thu, Mar 10, 2011 at 9:46 PM, The Fungi wrote: > On Thu, Mar 10, 2011 at 01:06:03PM +, Lars Wirzenius wrote: >> If one has or downloads a list of mirrors, what's a good way to >> choose the best one? Ping time? > > Package: netselect-apt > Description: speed tester for choosing a fast Debia

Re: cdn.debian.net as a project service?

2011-03-10 Thread The Fungi
On Thu, Mar 10, 2011 at 01:06:03PM +, Lars Wirzenius wrote: > If one has or downloads a list of mirrors, what's a good way to > choose the best one? Ping time? Package: netselect-apt Description: speed tester for choosing a fast Debian mirror This package provides a utility that can choose th

Re: cdn.debian.net as a project service?

2011-03-10 Thread Lars Wirzenius
On to, 2011-03-10 at 10:22 +0100, Peter Palfrader wrote: > I'd really like to see support for sane mirror selection in apt itself, > possibly with archive support (i.e. list of mirrors somewhere on > ftp.d.o). That would allow apt to for instance retry on a different > server if the first one it t

Re: cdn.debian.net as a project service?

2011-03-10 Thread Martin Zobel-Helas
Hi, On Thu Mar 10, 2011 at 12:09:32 +, Philipp Kern wrote: > On 2011-03-10, Mike Hommey wrote: > > On Thu, Mar 10, 2011 at 08:58:55AM +, Lars Wirzenius wrote: > >> What would it take to get cdn.debian.net become a service provided by > >> the project? In other words, cdn.debian.org, inst

Re: cdn.debian.net as a project service?

2011-03-10 Thread Philipp Kern
On 2011-03-10, Mike Hommey wrote: > On Thu, Mar 10, 2011 at 08:58:55AM +, Lars Wirzenius wrote: >> What would it take to get cdn.debian.net become a service provided by >> the project? In other words, cdn.debian.org, instead of cdn.debian.net. >> If we had cdn.debian.org, we could make it into

Re: cdn.debian.net as a project service?

2011-03-10 Thread Martin Zobel-Helas
Hi, On Thu Mar 10, 2011 at 10:22:29 +0100, Peter Palfrader wrote: > On Thu, 10 Mar 2011, Lars Wirzenius wrote: > I'd really like to see support for sane mirror selection in apt itself, > possibly with archive support (i.e. list of mirrors somewhere on > ftp.d.o). That would allow apt to for inst

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Thu, Mar 10, 2011 at 5:30 PM, Peter Palfrader wrote: > On Thu, 10 Mar 2011, Paul Wise wrote: > >> On Thu, Mar 10, 2011 at 5:22 PM, Peter Palfrader 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.

Re: cdn.debian.net as a project service?

2011-03-10 Thread Peter Palfrader
On Thu, 10 Mar 2011, Paul Wise wrote: > On Thu, Mar 10, 2011 at 5:22 PM, Peter Palfrader 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 readab

Re: cdn.debian.net as a project service?

2011-03-10 Thread Paul Wise
On Thu, Mar 10, 2011 at 5:22 PM, Peter Palfrader 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 ftp://ftp.iinet.net.au/debian/debian/README.mirrors.txt ftp://ftp.au.debian.org/debi

Re: cdn.debian.net as a project service?

2011-03-10 Thread Mike Hommey
On Thu, Mar 10, 2011 at 08:58:55AM +, Lars Wirzenius wrote: > What would it take to get cdn.debian.net become a service provided by > the project? In other words, cdn.debian.org, instead of cdn.debian.net. > > If we had cdn.debian.org, we could make it into a default mirror (which > could pote

Re: cdn.debian.net as a project service?

2011-03-10 Thread Peter Palfrader
On Thu, 10 Mar 2011, Lars Wirzenius wrote: > What would it take to get cdn.debian.net become a service provided by > the project? In other words, cdn.debian.org, instead of cdn.debian.net. I think DNS hacks are the wrong approach in the long run. The recursors people use are no longer always clo

Re: cdn.debian.net as a project service?

2011-03-10 Thread Yasuhiro Araki
Lars, This is ARAKI (a...@debian.org), maintainer of cdn.debian.net. Thanks for using cdn.debian.net and your good suggestion. I think we need more resource to modify some points as follows, - IPv6 support - More mirror list maintainer - Using GeoCityLite - DNS servers on other countries. # We al

cdn.debian.net as a project service?

2011-03-10 Thread Lars Wirzenius
What would it take to get cdn.debian.net become a service provided by the project? In other words, cdn.debian.org, instead of cdn.debian.net. If we had cdn.debian.org, we could make it into a default mirror (which could potentially skip one question in the installer), debmirror, pbuilder, piuparts