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

debian/watch: FTP with version encoded (only) in directory



Hi,

I have the following sample download URL

ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v3.0-9/stilts_src.zip

Corresponding Debian version number should be 3.0.9.

I tried

version=3
options="uversionmangle=s/\-/./,filenamemangle=s/\/$/.zip/" \
ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v([\d\.\-]+)/ stilts_src.zip

but it doesn't work; basically it adjusts upstream version to be 1:

uscan info: Newest upstream tarball version selected for download (uversionmangled): 1

How can I get this right?

Cheers

Ole



Reply to: