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

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



Hi Paul,

Paul Wise <pabs@debian.org> writes:
> 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

Thank you. I am however a bit afraid since this depends that upstream
keeps both really consistent.

> 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.

I will have a look; however it may be faster to ask upstream to have a
better supported url.

Best regards

Ole


Reply to: