On Mon, 7 Sep 2009 10:03:39 +0200, Andreas Tille wrote:

> Hi,

Hello Andreas,

> I try to create a new watch file for package arb since upstream finally
> started to add proper versions to their releases.  Unfortunately they do the
> versioning in the download directory not the tarball.
> [..]

Here you are:

$ cat debian/watch 
version=3
opts="downloadurlmangle=s/$/arbsrc.tgz/,filenamemangle=s/\/$/.tgz/" \
    http://download.arb-home.de/release/ arb_(\d+.*)/
$ uscan --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts="downloadurlmangle=s/$/arbsrc.tgz/,filenamemangle=s/\/$/.tgz/"
   http://download.arb-home.de/release/ arb_(\d+.*)/
-- Found the following matching hrefs:
     arb_5.0/
Newest version on remote site is 5.0, local version is 0.0.20071207.1
 => Newer version available from
    http://download.arb-home.de/release/arb_5.0/arbsrc.tgz
-- Downloading updated package arb_5.0.orig.tar.gz
-- Successfully downloaded updated package arb_5.0.orig.tar.gz
    and symlinked arb_5.0.orig.tar.gz to it
-- Scan finished
$

Hope this helps,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to