Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Newsgroups: linux.debian.maint.python Subject: Re: Uscan: watch and changelog Date: Fri, 29 Mar 2024 17:40:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Mar 29 16:39:30 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-9.498 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/21686 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/4V5mMF182Xz6tyK@submission01.posteo.de Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 29 Mar 2024 16:39:04 +0000 X-Original-Message-ID: <4V5mMF182Xz6tyK@submission01.posteo.de> X-Original-References: <4V5hyG6V92z9rxM@submission02.posteo.de> <145aea4b-f7fc-4bbd-944b-3620794ee3b6@t-online.de> Xref: csiph.com linux.debian.maint.python:15676 Dear Carsten, thank for your reply and your patience with me. :) On 2024-03-29 16:23 Carsten Schoenert 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?