On Mar 6, 2014, at 4:10 AM, Marius Gedminas <mar...@pov.lt> wrote:

> On Wed, Mar 05, 2014 at 07:01:49AM -0500, Donald Stufft wrote:
>> On Mar 5, 2014, at 5:48 AM, anatoly techtonik <techto...@gmail.com> wrote:
>>> JSON-RPC is a better choice for recommended external API,
>>> because it doesn't rely on memory hungry and potentially unsafe
>>> XML libraries.
>>> 
>>> On Wed, Mar 5, 2014 at 3:41 AM, Donald Stufft <don...@stufft.io> wrote:
>>>> Just a quick FYI that the last missing piece (search) for XMLRPC was 
>>>> merged in
>>>> Warehouse today. If you have an application that depends on XMLRPC on PyPI 
>>>> and
>>>> you’d like to test it, please try against the url:
>>>> 
>>>>   https://pypi-preview.a.ssl.fastly.net/pypi
>>>> 
>>>> Let me know if you find any issues, or you can file a bug at:
>>>> 
>>>>   https://github.com/pypa/warehouse
>> 
>> XMLRPC is used in order to maintain compatibility with what is already
>> there. Something better will replace it eventually and XMLRPC will be
>> deprecated.
> 
> This is a bit confusing to me now.
> 
> You're reacting as if anatoly suggested a new JSON interface to
> replace the legacy XML-RPC one.

Well specifically he said JSON-RPC is better than XMLRPC which sounds like
he was disagreeing with Warehouse implementing the XMLRPC interface. If
that wasn’t the case then I misunderstood :) I don’t think an RPC interface
is really needed at all for PyPI.

> 
> But the old PyPI codebase already had a JSON API[1].  I'm using it to keep
> track of Python 3 support status of about 800 packages maintained by the
> Zope Foundation: http://zope3.pov.lt/py3/
> 
>  [1] https://wiki.python.org/moin/PyPIJSON
> 
> I assume at some point Warehouse will add support for the JSON API and
> you'll issue a call for testing?

Richard has actually already implemented it! But in testing it just now I see it
is failing on the server but isn’t locally for me so I’ll need to see why that 
is the
case.

> 
> Marius Gedminas
> -- 
> The typewriter was invented by Hungarian immigrant Qwert Yuiop, who left his
> "signature" on the keyboard.
>        -- "Kim"
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Reply via email to