[Catalog-sig] [Distutils] Why so many zc.buildout versions?

Jim Fulton jim at zope.com
Tue Jul 10 18:04:01 CEST 2007


On Jul 10, 2007, at 11:56 AM, Phillip J. Eby wrote:

> At 10:32 AM 7/10/2007 -0400, Jim Fulton wrote:
>> Currently, the only way to support multiple versions with the
>> cheeseshop is to unhide past releases.  This has a fairly severe
>> effect on performance.  As the example below shows, setuptools will
>> fetch the package page and then fetch the pages for each release.
>> That's a lot of requests.
>
> This could potentially be fixed in setuptools, so that it only  
> looks at release pages that match its requirements, in highest-to- 
> lowest version order, stopping as soon as a suitable match is  
> found.  That would eliminate the current issue

No, it will mitigate the current issue somewhat, but it will still  
involve multiple requests per package, while a simpler index  
structure would allow a single request per package.

> -- but only for new versions of setuptools.  So I do like your idea  
> better, since it can be made to work for already-deployed clients  
> as well.

Yup.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Catalog-SIG mailing list