[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uscan download URL mangling



Hi

On Mon, 7 Apr 2008 12:15:23 +0100
"Adam D. Barratt" <adam@adam-barratt.org.uk> wrote:

> downloadurlmangle affects the URL that uscan downloads, not the filename 
> that the result is saved under; for the latter you want filenamemangle:
> 
> opts="filenamemangle=s/^.*(python-mpd-.*?\.tar\.gz)#.*$/$1/" \
>     http://pypi.python.org/simple/python-mpd/ \
>     http://pypi.python.org/packages/source/p/python-mpd/python-mpd-(.*?)\.tar\.gz#.*

Thanks, I just thought that downloadurlmangle will affect both download
url and resulting filename.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature


Reply to: