[Distutils] URL Structure of Packages URLs

Donald Stufft donald at stufft.io
Tue Oct 8 16:44:06 CEST 2013


Hrm, I'm assuming these require a file listing at

/packages/source/D/ too.

Of course these files should probably be using the simple API and
not the packages url directly :/

On Oct 8, 2013, at 10:05 AM, Marius Gedminas <marius at pov.lt> wrote:

> On Tue, Oct 08, 2013 at 09:19:37AM -0400, Donald Stufft wrote:
>> I was wondering if anyone was aware of anything that relies on
>> the current structure of package urls, namely:
>> 
>>    /packages/source|any|etc/D/Django-1.0.tar.gz?
>> 
>> I would like to change this but before I work up a concrete plan for
>> people to comment on and discuss I'm trying to figure out what, if
>> anything, depends on that current structure.
> 
> I've told Launchpad that it can look for new releases at URLs like
> http://pypi.python.org/packages/source/g/gtimelog/gtimelog-*.tar.gz
> (for a few projects, not just GTimeLog).
> 
> I'm not sure how Launchpad crawls those pages looking for releases; all
> the documentation I could find in 5 minutes was this blog post:
> http://blog.launchpad.net/cool-new-stuff/automatically-import-files-to-launchpad-using-product-release-finder
> 
> 
> Some Debian packages have debian/watch files using similar URL patterns
> to watch for new upstream releases showing up on PyPI.  This mechanism
> is documented at https://wiki.debian.org/debian/watch/.  Here's
> python-requests:
> 
>    $ apt-get source python-requests
>    $ cat requests-1.1.0/debian/watch
>    version=3
>    http://pypi.python.org/packages/source/r/requests/requests-(.*)\.tar\.gz
> 
> 
> HTH,
> Marius Gedminas
> -- 
> Some people have told me they don't think a fat penguin really embodies the
> grace of Linux, which just tells me they have never seen a angry penguin
> charging at them in excess of 100mph. They'd be a lot more careful about what
> they say if they had.
>                -- Linus Torvalds, announcing Linux v2.0
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131008/574359c5/attachment.sig>


More information about the Distutils-SIG mailing list