Re: Need help for watch file
Hi,
On Tue, Aug 28, 2012 at 12:12:08AM +0800, Paul Wise wrote:
>
> Best ask them to fix that and point them at our upstream guide while
> you are at it:
>
> http://wiki.debian.org/UpstreamGuide
Right, but I guess chances are low ...
> > However, there should be some chance to drain the current version from other
> > files on this page. Any help would be welcome because I failed terribly
> > trying to use some mangling options.
>
> This would work but uscan doesn't like the file that gets downloaded:
I fixed this[1] in connection with the proposed uscan changes to enable
deletion of files (see bug #685787).
> version=3
> opts=downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/ \
> http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz
Hmmm, I tried this
opts=dversionmangle=s/([\d.]+)\.(\d+)/$1-r$2/,downloadurlmangle=s/MRIConvert_.*/mriconvert_sources.zip/ \
http://lcni.uoregon.edu/~jolinda/MRIConvert/MRIConvert_x86-([\d\.]+-r\d+)\.tar\.gz
which ends up with version 2.0-r235. I know that dversionmangle is the
wrong approach and it rather should be
uversionmangle=s/([\d.]+)-r(\d+)/$1.$2/
but if I try this I do not get a match on the given download page.
Kind regards
Andreas.
[1] http://anonscm.debian.org/gitweb/?p=users/tille/devscripts.git;a=commit;h=cc44217883219e7c9bb0875f75aebc4ecec59e63
--
http://fam-tille.de
Reply to: