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

Re: Help with watch file for OBS?



On Sat, 14 Apr 2012 15:56:19 -0500, Paul Elliott wrote:

> My current watch file reads:
> 
> >version=3
> 
> >opts=filenamemangle=s/(.*)\?rev=.*/$1/ \
> >https://build.opensuse.org/package/files?package=libreoffice-converter&project=LibreOffice:Unstable
> >\
> >https://api.opensuse.org:443/public/source/LibreOffice:Unstable/libreoffice-converter/libreoffice-converter-(\d\.\d)\.tar\.bz2
> 
> It does not find a match.

Add \?rev=.* at the end.

Also, I would suggest to simplify the filenamemangle:

s/\?rev=.*//

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: