On Tue, Mar 10, 23:11, Helmut Grohne wrote

> On Tue, Mar 10, 2026 at 08:50:00PM +0100, Andre Noll wrote:
> > Could be. All lopsub releases are named according to the scheme v$a.$b.$c,
> > so replacing @ANY_VERSION@ with
> > 
> >     v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+
> > 
> > should work (assuming uscan uses extended regular expressions). Do you want
> > me to add a commit which makes this change?
> > 
> > Alternatively, or in addition to that, I could simply remove the two tags
> > which contain a dash (v1.0.5-2 and v1.0.6-1).
> 
> Either should work, but the present state doesn't produce a working
> source package.

I've removed the two offending tags and applied the patch below. Hopefully,
that brings the package back to sanity.

> > Obviously I'd prefer to not see the package being removed. So what is the
> > best way to accomplish this?
> 
> First of all, keep replying. Every reply resets the autoremoval timer.

Done :)

> Then an upload to unstable rather than experimental is needed. The
> target suite is selected in the most recent debian/changelog entry.

The commit also adds the 1.0.6-2 entry, targeting unstable. Would you be
willing to sponsor the new version?

Thanks
Andre
---
commit f7b30dad8d74a678800fedae6f4da52a7bbcce13
Author: Andre Noll <[email protected]>
Date:   Mon Mar 16 17:22:27 2026 +0100

    debian: Use custom regex in watch file.
    
    This works around the problem that there existed tags containing a dash
    character, which confused dpkg-source. These tags have been removed by now,
    but it is probably a good idea to use a regular expression which is tailored
    to the upstream naming convention of lopsub. That is, all version strings
    follow the scheme v$a.$b.$c where a, b and c are decimal numbers. There will
    be no alpha, beta, pre, rc, whatever.
    
    Suggested-by: Helmut Grohne <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 7c92adb..1ed7ba2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+liblopsub (1.0.6-2) unstable; urgency=medium
+
+  * Use custom regex in watch file
+
+ -- Andre Noll <[email protected]>  Mon, 16 Mar 2026 17:21:53 +0100
+
 liblopsub (1.0.6-1) experimental; urgency=medium
 
   * Use dh_installchangelogs. Closes: #1126662
diff --git a/debian/watch b/debian/watch
index 94ee548..f03e005 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
 version=4
 opts="mode=git, gitmode=full, pgpmode=gittag" \
        https://git.tuebingen.mpg.de/lopsub/ \
-       refs/tags/v@ANY_VERSION@
+       refs/tags/v([[:digit:]]+\.[[:digit:]]+\.[[:digit:]])
 
-- 
Max Planck Institute for Biology
Tel: (+49) 7071 601 829
Max-Planck-Ring 5, 72076 Tübingen, Germany
https://people.tuebingen.mpg.de/maan/

Reply via email to