[Distutils] [Catalog-sig] Prototype setuptools-specific PyPI index.

"Martin v. Löwis" martin at v.loewis.de
Fri Jul 20 10:21:18 CEST 2007


> I've created and experimental prototype setuptools-specific package  
> index at
> 
>    http://download.zope.org/ppix

Cool! If this proves useful, people are encouraged to contribute the
proper patches to PyPI to regenerate the page directly on each log
change.

There is a slight transactional trickiness to doing so: If you
regenerate before the commit, it might be that the commit fails;
then you would have to rollback the page update, too. If you
regenerate after commit, it might be that you run into race
conditions if the same package sees two	updates in two
transactions very quickly, and the second regeneration completes
before the first one.

If people would find it easier to make these pages dynamic,
such patches would also be kindly accepted. Generating the
pages on access should be fairly cheap; the SQL is

select filename,md5_digest from release_files where name='setuptools';

and putting the result of that into an ppix-like HTML page
should be much faster than invoking ZPT.

Regards,
Martin



More information about the Distutils-SIG mailing list