On 25 Jul 2024 16:35:40 +0200 Diederik de Haas <[email protected]> wrote:
> Source: libliftoff
> Version: 0.4.1-1
> Severity: minor
> Tags: patch
> 
> https://tracker.debian.org/pkg/libliftoff reported it had a problem with
> finding a new upstream release, which does exist, so I updated the
> ``debian/watch`` file so that it now does find new versions.
> 
> When running ``uscan`` it does report the following:
> 
> ```
> uscan warn: Possible OpenPGP signature found at:
>    
> https://gitlab.freedesktop.org/emersion/libliftoff/-/tags-/archive/v0.5.0/libliftoff-v0.5.0.tar.bz2.asc

Updated patch which results in a (slightly) better output, attached.

```
 => Newer package available from:
        => 
https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v0.5.0/libliftoff-v0.5.0.tar.bz2
uscan warn: Possible OpenPGP signature found at:
   
https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v0.5.0/libliftoff-v0.5.0.tar.bz2.asc
 * Add opts=pgpsigurlmangle=s/$/.asc/ or opts=pgpmode=auto to debian/watch
 * Add debian/upstream/signing-key.asc.
```
>From b54309239a510a4a5e1574f17bf42fd25f8a961b Mon Sep 17 00:00:00 2001
From: Diederik de Haas <[email protected]>
Date: Thu, 25 Jul 2024 16:27:11 +0200
Subject: [PATCH] d/watch: Update uscan params

https://tracker.debian.org/pkg/libliftoff reported the following issue:
"Problems while searching for a new upstream version"

And it (apparently) didn't notice version 0.5.0 was released.
With the new uscan parameters it does find the new version.
---
 debian/watch | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index dc3a39f..3bb3cc7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
 version=4
-https://gitlab.freedesktop.org/emersion/libliftoff/-/tags archive/v?@ANY_VERSION@/.*@ARCHIVE_EXT@
+opts="searchmode=plain" \
+ https://gitlab.freedesktop.org/emersion/@PACKAGE@/-/tags \
+ archive/v?@ANY_VERSION@/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@
-- 
2.45.2

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to