Bug#850966: Please support ftp search with version number only in the directory name

Ole Streicher olebole at debian.org
Wed Jan 11 16:58:51 UTC 2017


Package: devscripts
Severity: wishlist
User: devscripts at packages.debian.org
Usertags: uscan


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.

There is currently no way to get this downloaded via uscan. 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20170111/eb695117/attachment.html>


More information about the devscripts-devel mailing list