On Thu, Jan 5, 2017 at 10:40 PM, Ole Streicher wrote: > How can I get this right?
With just the ftp site alone it can't work (see below), luckily for you there is a github page: http://www.star.bristol.ac.uk/~mbt/stilts/#install https://github.com/Starlink/starjava/releases So this monstrosity should work: version=3 options="uversionmangle=s/\-/./,downloadurlmangle=s{.*/stilts-([\d\.\-]+)\.zip}{ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v$1/stilts_src.zip}" \ https://github.com/Starlink/starjava/releases .*/archive/stilts-([\d\.\-]+).zip It won't work with the ftp site because uscan doesn't let the version number be in the directory name and the downloadurlmangle workaround doesn't work with ftp. I think both of these are probably things that uscan needs to support. There may be bugs for them, please check and if not, file new ones. uscan info: line: ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v([\d\.\-]+)/stilts_src.zip Use of uninitialized value $filepattern in pattern match (m//) at /usr/bin/uscan line 2612, <WATCH> line 3. uscan warn: Filename pattern missing version delimiters () without filenamemangle in watch, skipping: ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v([\d\.\-]+)/stilts_src.zip uscan warn: downloadurlmangle option invalid for ftp sites, ignoring downloadurlmangle in watch: ftp://andromeda.star.bris.ac.uk/pub/star/stilts/v([\d\.\-]+) -- bye, pabs https://wiki.debian.org/PaulWise