Re: Help for watch file needed
* Andreas Tille <andreas@an3as.eu>, 2014-06-29, 11:43:
I have trouble fixing the watch file for r-other-bio3d at
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-other-bio3d/trunk/
At first I do not understand why uversionmangle=s/\./-/g does not work:
You got it backwards. It should be: uversionmangle=s/-/./g
$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
opts=uversionmangle=s/-/./g http://thegrantlab.org/bio3d/download/download-bucket .*bio3d-v([-.0-9]+)
-- Found the following matching hrefs:
/bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1)
/bio3d/download/download-bucket?download=1:bio3d-v2-0-1 (2.0.1)
Newest version on remote site is 2.0.1, local version is 2.0-1
=> Newer version available from
http://thegrantlab.org/bio3d/download/download-bucket?download=1:bio3d-v2-0-1
-- Scan finished
Moreover I need some proper fileversionmangle which I failed to add.
No idea how to do this. (I have USCAN_SYMLINK=rename in my
~/.devscripts. so I usually don't care about the original filename.)
--
Jakub Wilk
Reply to: