Dear Andreas, You should have a look to : https://wiki.debian.org/debian/watch/ It's quite well explained.
Best regards, Joseph On Wed, Feb 5, 2014 at 3:34 PM, gregor herrmann <[email protected]> wrote: > On Wed, 05 Feb 2014 15:21:01 +0100, Andreas Tille wrote: > >> does anybody have an idea how to write a working watch file for >> http://spades.bioinf.spbau.ru/release3.0.0/ >> where the version is encoded in the download dir and the download file >> or do I have no better option than writing upstream a kind mail (which I >> would do anyway but it would be nice to know whether there is a >> workaround)? > > The following seems to work for me: > > version=3 > opts=\ > downloadurlmangle=s{release([\d.]+)/}{release${1}/SPAdes-${1}-Linux.tar.gz},\ > filenamemangle=s{release([\d.]+)/}{SPAdes-${1}-Linux.tar.gz} \ > http://spades.bioinf.spbau.ru/ release([\d.]+)/ > > (and produce a file named ../SPAdes-3.0.0-Linux.tar.gz) > > > Maybe there's a more elegant version than using two *mangles ... > > > Cheers, > gregor > > -- > .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 > : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ > `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe > `- BOFH excuse #451: astropneumatic oscillations in the water-cooling > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact [email protected] > Archive: > http://lists.debian.org/[email protected] > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAPQicOyw1Hw+16HYV7-C=q8ei9rnidxlgx4+w6iluqr+9hy...@mail.gmail.com

