Hi!

Having recently tried to write a d/watch file for pypi, I'd suggest that the 
redirector service is a much better thing to recommend -- pypi.debian.net 
works very nicely.

Compare:

    http://pypi.debian.net/foo/foo-(.*).tar.gz

with the suggested

    opts="filenamemangle=s/\S+\/([^\/]+\.tar\.gz)#md5=[[:alnum:]]+$/$1/" \
        https://pypi.python.org/simple/pip/ \
        \S+/pip-(\S+)\.tar\.gz#md5=[[:alnum:]]+

(no-one should have to deal with that sort of unmaintainable regex)

Note that is without adding the pgp signature finding options which for the 
first example is just

    opts=pgpsigurlmangle=s/$/.asc/ 

and for the second is sufficiently horrid that I shall graciously decline.

cheers
Stuart


-- 
Stuart Prescott    http://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/         stu...@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to