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

Re: Help for watch file needed



Hi,

On Sun, Jun 29, 2014 at 02:22:18PM +0100, Daniel Lintott wrote:
> Hi Andreas,
> 
> On 29/06/14 14:05, Andreas Tille wrote:
> > Hi Jakub
> > 
> > On Sun, Jun 29, 2014 at 12:04:20PM +0200, Jakub Wilk wrote:
> >>
> >> You got it backwards. It should be: uversionmangle=s/-/./g
> > 
> > No, I really want to substitute v2-0-1 to 2.0-1 as the
> > tarball on the download page
> > 
> 
> I don't know if this is the best method... but it seems to work.
> 
> uversionmangle=s/(\d)-(\d-\d)/$1.$2/g

Hmmm,

$ uscan --verbose --report
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts="s/(\d)-(\d-\d)/$1.$2/,filenamemangle=s/download-bucket.*bio3d-v(.*)$/r-other-bio3d_$1.tar.gz/" http://thegrantlab.org/bio3d/download/download-bucket   .*bio3d-v([-.0-9]+)
uscan warning: unrecognised option s/(\d)-(\d-\d)/$1.$2/
-- 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
 => remote site does not even have current version
-- Scan finished


at least with uscan from latest devscripts this does not seem to
work ...


Kind regards

      Andreas.

-- 
http://fam-tille.de


Reply to: