Re: Uscan: watch and changelog
Dear Carsten,
thank for your reply and your patience with me. :)
On 2024-03-29 16:23 Carsten Schoenert <c.schoenert@t-online.de> wrote:
> You need to use "opts=mode=git, ...", see the man page of uscan.
Are you sure. For example this watch file do not use "opts="
https://sources.debian.org/src/backintime/1.4.3-1/debian/watch/
Also some examples on the wikipage about "debian/watch" do not use
"opts=".
Please be aware that I don't only want to solve one technical problem
with one specific package. I want to understand the whole thing ("big
picture") to improve the documentation.
> > opts="mode=git, \
> > uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/,
> > \ dversionmangle=s/\+ds(\.?\d+)?$//" \
> > https://codeberg.org/buhtz/hyperorg.git \
> > refs/tags/v(\d+\S+)
>
> And uscan will find the most recent version matching the regexp.
I see 3 different regex patterns in this line. Why?
Reply to: