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

Re: asio watchfile



On Wed, Mar 13, 2013 at 07:38:09PM +0100, Markus Wanner wrote:
> Bart,
> 
> I recently updated package 'asio', including an update to the watch
> file, so as to disregard development versions of the library (with odd
> minor versions). However, PTS again warns about a new release and at the
> same time notifies about the updated watchfile.
> 
> I've incorporated some of your changes in the git repo for the package,
> especially using the qa.debian.org/watch/sf.php part. But keeping the
> limitation to stable versions. See here:
> 
> http://anonscm.debian.org/gitweb/?p=collab-maint/asio.git;a=blob;f=debian/watch;h=5c564ec420546a8898fb3f55f5beeeaea482473d;hb=35e30c6773b413542641a0855731bfa7c3a02501

   1 version=3
   2 
   3 opts=uversionmangle=s/\.(\d+)rc(\d+)/.$1~rc$2/ \
   4  http://qa.debian.org/watch/sf.php/asio \
   5  (?:.*/|)asio[\-\._]?(\d+\.\d*[02468]\.\d+(?:rc\d+)?)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

> 
> However, that qa.debian.org/watch/sf.php redirector doesn't seem to work
> for me:
> 
> > Newest version on remote site is 1.4.8, local version is 1.4.8
> >  => Forcing download as requested
> > -- Downloading updated package asio-1.4.8.tar.gz
> > uscan debug: requesting URL http://qa.debian.org/watch/sf.php/asio-1.4.8.tar.gz
> > uscan warning: In directory ., downloading
> >   http://qa.debian.org/watch/sf.php/asio-1.4.8.tar.gz failed: 404 File Not Found
> > -- Scan finished
> 
> What am I missing?

A slash on line 4.

   1 version=3
   2 
   3 opts=uversionmangle=s/\.(\d+)rc(\d+)/.$1~rc$2/ \
   4  http://qa.debian.org/watch/sf.php/asio/ \
   5  (?:.*/|)asio[\-\._]?(\d+\.\d*[02468]\.\d+(?:rc\d+)?)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

Regards,

Bart Martens


Reply to: