[Catalog-sig] permissive trove classification

Doug Hellmann doug at hellfly.net
Wed Dec 26 19:07:21 CET 2007

As a package owner/maintainer, I would much rather have a warning or  
error message from the server when I upload something with an unknown  
category. That way I can correct any typographical mistakes.  If the  
server completely ignores the bad data, I don't have an easy way to  
realize something is wrong.


On Dec 26, 2007, at 12:43 PM, Tarek Ziadé wrote:

> Hello,
> I am implementing a PyPI-like server, to allow people using it as a
> cheeseshop alternative. It may have its own trove classification  
> though,
> that differs from PyPI. This is intended because the server provide a
> "package center" that has its own domain-specific categories.
> To make `file_upload` work on both Pypi and my implementation, it  
> has to be
> permissive on the classifiers passed in the metadata.
> In other words, if the classifier is not found in the server, it  
> doesn't use
> it. This would allow a distribution of eggs on several servers and a
> decentralized way to manage troves.
> I've tried to upload a file with a classifier that doesn't exists  
> on Pypi
> and it fails silently. The result was the lost of all metadata on the
> package.
> I would like to suggest a "permissive trove classification" on  
> servers that
> implement a package index.
> I can work on a more formal document (some kind of PEP?) to explain  
> the
> changes needed in the current
> PyPI implementation and on a formal definition of a PyPI (server  
> side) api
> (a bit like the DB API). I am also willing to spend the time needed  
> to code
> it.
> Regards
> Tarek
> -- 
> View this message in context: http://www.nabble.com/permissive- 
> trove-classification-tp14504481p14504481.html
> Sent from the Python - catalog-sig mailing list archive at Nabble.com.
> _______________________________________________
> Catalog-SIG mailing list
> Catalog-SIG at python.org
> http://mail.python.org/mailman/listinfo/catalog-sig

More information about the Catalog-SIG mailing list