[Pkg-haskell-commits] darcs: haskell-feed: debian/watch: Include package name in downloaded .tar.gz.

Giovanni Mascellani mascellani at poisson.phc.unipi.it
Sun Jan 24 17:30:54 UTC 2010


Joachim Breitner ha scritto:
> Sun Jan 24 10:20:13 UTC 2010  Joachim Breitner <mail at joachim-breitner.de>
>   * debian/watch: Include package name in downloaded .tar.gz.
>   Ignore-this: 9135f3051989421a651ed4e01ffd63fe
> 
>     M ./changelog +4
>     M ./watch -1 +2

Uhm, I'm not convinced:

> $ uscan --verbose --download-current-version
> -- Scanning for watchfiles in .
> -- Found watchfile in ./debian
> -- In debian/watch, processing watchfile line:
>    opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,	filenamemangle=s|(.*)/$|feed-$1.tar.gz|"     http://hackage.haskell.org/packages/archive/feed     ([\d\.]*\d)/
> uscan warning: unrecognised option 	filenamemangle=s|(.*)/$|feed-$1.tar.gz|
> -- Found the following matching hrefs:
>      0.3.1/
>      0.3.1/
>      0.3.2.1/
>      0.3.2.1/
>      0.3.2/
>      0.3.2/
>      0.3.4/
>      0.3.4/
>      0.3.5/
>      0.3.5/
>      0.3.6/
>      0.3.6/
>      0.3.7/
>      0.3.7/
> Newest version on remote site is 0.3.7, local version is 0.3.7
>  => Package is up to date
> Newest version on remote site is 0.3.7, local version is 0.3.7
>  => Forcing download as requested
> -- Downloading updated package 0.3.7
> -- Successfully downloaded updated package 0.3.7
> -- Scan finished

It doesn't seem to like your filenamemangle. The downloaded file is
named just "0.3.7".

Cheers, Giovanni.
-- 
Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascellani at jabber.org / giovanni at elabor.homelinux.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 379 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-commits/attachments/20100124/fc711984/attachment.pgp>


More information about the Pkg-haskell-commits mailing list