[Pkg-giraffe-maintainers] Z-push watch file no longer effective
Carsten Schoenert
c.schoenert at t-online.de
Sat Apr 28 12:42:44 BST 2018
On 4/28/18 10:36 AM, Carsten Schoenert wrote:
> I'm still not familiar enough with Perl regular expression so I'm
> struggling with the needed line for 'dversionmangle=$foo'
>
> For kopano-webapp I use 'dversionmangle=s/\+dfsg(\.?\d+)?$//" \' which
> works fine there but not for kopano-webapp-plugins-files. The suffix to
> remove is both for the two packages (dfsg*$). Do you have time to figure
> how the correct syntax would be?
I looked at this again and now I found a working setup. :)
> $ cat debian/watch
> version=4
>
> opts="mode=git, \
> uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/, \
> dversionmangle=s/\+dfsg(\.?\d+)?$//" \
> https://stash.kopano.io/scm/kwa/files.git \
> refs/tags/v(\d+\.\d+\.\d)
--
Regards
Carsten
More information about the Pkg-giraffe-maintainers
mailing list