[Debian-med-packaging] ncbi-tools6: How to write a watch file with version encoded in _ftp_ directory
Andreas Tille
andreas at an3as.eu
Thu Dec 1 14:00:35 UTC 2016
Hi Eriberto,
On Thu, Dec 01, 2016 at 11:01:56AM -0200, Eriberto wrote:
>
> Please, try the folowing structure:
>
> version=4
> opts="passive,uversionmangle=s|^|6.1.|" \
> http://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/ (\d{8}[a-z]*)/
>
> I hope this help.
Thanks, this was extremly helpful (after adding downloadurlmangle=s/$/ncbi.tar.gz/).
One remaining question: I frequently observed that uscan gave up with something
like in this case:
...
uscan info: Requesting URL:
http://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/20160908/ncbi.tar.gz
uscan warn: In directory ., downloading
http://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/20160908/ncbi.tar.gz failed: 500 read timeout
uscan info: Failed to download upstream package: 20160908
...
The solution in this case is always to simply use the download URL with wget.
Am I the only one who observes that uscan is way less robust in the actual
download process than wget or is this simply a bug in uscan?
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list