On 5 October 2012 16:40, Daniel Holth <dho...@gmail.com> wrote:
>> Well, XML-RPC is of course preferable; the current code in distlib is just
>> whatever I copied across from packaging, but the next step will be to look
>> at the releases which are available from the different sources (XML-RPC,
>> PyPI metadata URLs, dependency_links etc.) to see what sorts of things 
>> wouldn't
>> be accessible if we restricted to say, just using XML-RPC. Since all the
>> information in the static pages seems to be available via XML-RPC, what is 
>> the
>> point of the simple interface, other than for occasional viewing by a human?
>
> IIRC the most practical limitation is that the XML-RPC interface
> doesn't exist on the mirrors.

That's a good point. Actually, writing a "local PyPI server" is much
easier if all you have to implement is the simple static page
interface. So I take back some of my objection - both XML-RPC and the
static page interface make sense to support. Although it would be nice
to have a better definition of precisely what comprises the "simple
interface" than looking at the source code of the scraper. (Oh, and I
still think the actual PyPI static pages include more links than are
necessary, but that's a different issue, and one which would be
alleviated by an option to ignore offsite links).

Paul.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to