> I could need some help with a debian/watch file :) In this special case > I would like to create a debian/watch file for molekel > (http://bioinformatics.org/molekel). Unfortunately upstream doesn't > provide tarballs. So I thought about the possibility to check the path > via the websvn interface: > > http://bioinformatics.org/websvn/listing.php?repname=molekel&path=%2Ftags%2F&rev=0&sc=0

With this watch file:

version=3 http://bioinformatics.org/websvn/listing.php?repname=molekel&path=%2Ftags%2F&rev=0&sc=0 listing.php\?repname=molekel\&path=%2Ftags%2F([\d\.]+)%2F\&rev=0\&sc=0

This command: uscan --no-conf --watchfile watch --force-download --package molekel --upstream-version 0

does this: molekel: Version (5.2.0) available on remote site:

So, just add a "debian <script>" line to the second watchfile line to move your src.tar.gz to molekel_VER.orig.tar.gz. See the uscan man page for this. (I am having trouble with the net connection, so can't probe further).

.

> > 2) Is it possible to use a different action than uupdate, e.g. `fakeroot > > debian/rules get-orig-source'? > > And this too. Seems to be impossible atm. Would be a nice-to-have for > me.

$ cat debian/get-source #! /bin/sh fakeroot debian/rules get-orig-source $ cat debian/watch http://.../.../pkg-(.*).tar.gz debian debian/get-source

> Nice idea. Unfortunately > > uscan --force-download > > does not call the script. Instead it tries to get the archive I'm > testing for - but that's not, what I want - the get-orig-source gets the > necessary archives, merges them and creates the source tarball. Is the > problem, that the above idea fails, related to the fact, that I'm using > version 3 of the debian/watch format?

It may also call the script; at present, uscan assumes that the user wishes to download the new archive *before* running the update action. I wonder whether the best way around this one would be to have a new option "nodownload" or something like that?