[Catalog-sig] PEP 438 implementation on testpypi
M.-A. Lemburg
mal at egenix.com
Wed Mar 20 21:27:38 CET 2013
On 20.03.2013 21:16, Richard Jones wrote:
> On 20 March 2013 12:31, M.-A. Lemburg <mal at egenix.com> wrote:
>> * Will there be an RPC interface to register URLs with PyPI ?
>>
>> Doing this manually for a large number of files is, well,
>> not ideal :-)
>
> It's just a HTTP POST and there's plans for a tool.
Is this documented somewhere ? I'd like to add support for it
to our release process.
>> * Adding URLs should do some more tests, I think:
>
> I thought about it, but didn't see any benefit. It's documented...
Hmm, where ? :-)
>> * I'm missing an option:
>>
>> [ ] Ask tools to scrape only the Download URL.
>
> This is not part of the planned implementation. The download_url was
> never well-specified, and only allows for one URL, hence the
> implementation we have.
I know it's not in PEP 438 at the moment, but was one of the
nits I mentioned to Holger last week. It's specified in the
meta-data format 1.1 as "A string containing the URL from
which this version of the package can be downloaded.":
http://www.python.org/dev/peps/pep-0314/
Having such an option would allow cleaning up the /simple/
index pages a lot, without any changes on the tools side.
It would also be needed for the my proposal of securing
external downloads, where you point to a hashed download
page with the download_url.
>> * Would it be possible to add a link to the corresponding
>> /simple/ index page on the package menu (the one with files,
>> urls, etc.) ?
>
> I guess this could be added, yes.
Great.
>> * Could you add a link to the PKG-INFO file from
>> pypi?:action=display_pkginfo to the /simple/ page as
>> <version>-PKG-INFO (to match the other links) ?
>
> We could think about it - what's the use-case?
This would allow tools to easily and safely access meta-data
of a package release without downloading, extracting and
running the release files' setup.py.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Mar 20 2013)
>>> Python Projects, Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
2013-03-13: Released eGenix pyOpenSSL 0.13 ... http://egenix.com/go39
::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
More information about the Catalog-SIG
mailing list