Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-27 Thread M.-A. Lemburg
Martin v. Löwis wrote: Thoughts? I've been thinking that *.pypi.python.org should always yield A records, not CNAMEs. +1 It may be that this becomes difficult with Google appengine, though. There's no rule without exception :-) -- Marc-Andre Lemburg eGenix.com Professional Python

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-22 Thread Martin v. Löwis
Given the fragility of this it seems that we might want to consider alternative mirrorlist discovery mechanism. As a fallback, you can of course probe addresses on a binary search, or even just select a random mirror in the first place. (If you overshoot the list, you just decrease the max on

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-22 Thread Tarek Ziadé
On Thu, Jul 22, 2010 at 2:52 AM, Jesus Cea j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/10 21:20, P.J. Eby wrote: At 01:10 PM 7/21/2010 +0100, Paul Nasrat wrote: Given the fragility of this it seems that we might want to consider alternative mirrorlist

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-22 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/07/10 05:39, P.J. Eby wrote: Are you actually suggesting I add threads to *easy_install*? I'm not sure I could handle that kind of excitement. ;-) Well, all threads would execute the same 5 lines of code, only connecting with a 10 seconds

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-22 Thread Martin v. Löwis
Thoughts? I've been thinking that *.pypi.python.org should always yield A records, not CNAMEs. It may be that this becomes difficult with Google appengine, though. Regards, Martin ___ Catalog-SIG mailing list Catalog-SIG@python.org

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-21 Thread Paul Nasrat
On Wed, Jul 21, 2010 at 8:20 PM, P.J. Eby p...@telecommunity.com wrote: At 01:10 PM 7/21/2010 +0100, Paul Nasrat wrote: Given the fragility of this it seems that we might want to consider alternative mirrorlist discovery mechanism. Non-random selection is tougher to implement, since you'd

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-21 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/10 21:20, P.J. Eby wrote: At 01:10 PM 7/21/2010 +0100, Paul Nasrat wrote: Given the fragility of this it seems that we might want to consider alternative mirrorlist discovery mechanism. As a fallback, you can of course probe addresses

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-21 Thread P.J. Eby
At 02:52 AM 7/22/2010 +0200, Jesus Cea wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/10 21:20, P.J. Eby wrote: At 01:10 PM 7/21/2010 +0100, Paul Nasrat wrote: Given the fragility of this it seems that we might want to consider alternative mirrorlist discovery mechanism. As

Re: [Catalog-sig] Mirror list detection/construction - PEP 381

2010-07-21 Thread P.J. Eby
At 05:10 AM 7/22/2010 +0200, Jesus Cea wrote: On 22/07/10 03:55, P.J. Eby wrote: Not a bad idea. My main sticking point for adding this to easy_install is that it doesn't currently maintain any state like this, and there's no obvious place to put it. Silently rewriting config files would be