Re: [Distutils] Warehouse - Simple API
On Wed, Oct 2, 2013 at 10:57 PM, Donald Stufft wrote: > I've recently deployed the current Warehouse code. So far the > simple API has been implemented and it would be great if > people could point their installers to it and report back to me > if they run into any problems. > > The current PyPI simple api is not documented at all so I've had > to reverse engineer it going from what I know, pip, etc. Ideally > if i've missed anything it will be found out with testing from y'all. FYI, compare: https://preview-pypi.python.org/simple/setuptools/ and: https://pypi.python.org/simple/setuptools/ The former is missing the #egg URLs, which are required to install SVN versions. In general, extracted URLs don't seem to be working on the preview site. ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] Warehouse - Simple API
On Oct 12, 2013, at 8:23 PM, PJ Eby wrote: > On Wed, Oct 2, 2013 at 10:57 PM, Donald Stufft wrote: >> I've recently deployed the current Warehouse code. So far the >> simple API has been implemented and it would be great if >> people could point their installers to it and report back to me >> if they run into any problems. >> >> The current PyPI simple api is not documented at all so I've had >> to reverse engineer it going from what I know, pip, etc. Ideally >> if i've missed anything it will be found out with testing from y'all. > > FYI, compare: > > https://preview-pypi.python.org/simple/setuptools/ > > and: > > https://pypi.python.org/simple/setuptools/ > > The former is missing the #egg URLs, which are required to install SVN > versions. > > In general, extracted URLs don't seem to be working on the preview site. Hmm, I thought I had that working. Thanks i'll get it taken care of. - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA signature.asc Description: Message signed with OpenPGP using GPGMail ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] URL Structure of Packages URLs
On Oct 12, 2013, at 5:42 PM, Barry Warsaw wrote: > On Oct 12, 2013, at 08:50 PM, Floris Bruynooghe wrote: > >> Sounds like this could be addressed with a lintian warning and a long >> transition time (~2 years) so leaving proper redirects around would be >> advisable. > > Sure, but my point was that people will use the most easily discoverable > pattern available, which currently is the download link from the package's > PyPI page. If we want to make some other link more commonly used, it should > be more easily discoverable. > > -Barry > > ___ > Distutils-SIG maillist - Distutils-SIG@python.org > https://mail.python.org/mailman/listinfo/distutils-sig Just to be clear, I don't fault folks for using the /packages/ urls. I was just trying to get some sort of idea if anyone actually used that url structure or not. I also don't plan on breaking anything for people who do. That being said, do you know if the Debian case requires something to be served at /packages/source/D/Django/ in order to locate a file at /packages/source/D/Django/Django-*.tar.gz? - Donald Stufft PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA signature.asc Description: Message signed with OpenPGP using GPGMail ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
Re: [Distutils] URL Structure of Packages URLs
On Oct 12, 2013, at 08:50 PM, Floris Bruynooghe wrote: >Sounds like this could be addressed with a lintian warning and a long >transition time (~2 years) so leaving proper redirects around would be >advisable. Sure, but my point was that people will use the most easily discoverable pattern available, which currently is the download link from the package's PyPI page. If we want to make some other link more commonly used, it should be more easily discoverable. -Barry signature.asc Description: PGP signature ___ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig