[7/8] debian: Add watch configuration for uscan

Message ID 20210416130612.15959-8-valter.jansons@gmail.com
State Accepted
Commit cbdcefd8578d670800d82ea773682beee1133961
Headers show
Series
  • debian: Mitigate bulk of Lintian issues
Related show

Commit Message

Valters Jansons April 16, 2021, 1:06 p.m. UTC
Packages defined as '3.0 (quilt)' are expected to provide information
about how the latest upstream information can be obtained,
as a special d/watch file. This can then get used by uscan(1).

To see how the metadata is utilized, and how the network requests
are made behind the scenes, you can locally run:
$ uscan --no-download --verbose --debug

Resolves: lintian: debian-watch-file-is-missing

Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
 debian/watch | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 debian/watch

Comments

Michael Tremer April 19, 2021, 1:15 p.m. UTC | #1
Hello,

This is actually quite a neat tool which might be helpful for us in other places.

Best,
-Michael

> On 16 Apr 2021, at 14:06, Valters Jansons <valter.jansons@gmail.com> wrote:
> 
> Packages defined as '3.0 (quilt)' are expected to provide information
> about how the latest upstream information can be obtained,
> as a special d/watch file. This can then get used by uscan(1).
> 
> To see how the metadata is utilized, and how the network requests
> are made behind the scenes, you can locally run:
> $ uscan --no-download --verbose --debug
> 
> Resolves: lintian: debian-watch-file-is-missing
> 
> Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
> ---
> debian/watch | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 debian/watch
> 
> diff --git a/debian/watch b/debian/watch
> new file mode 100644
> index 0000000..19ace6d
> --- /dev/null
> +++ b/debian/watch
> @@ -0,0 +1,3 @@
> +version=4
> +https://source.ipfire.org/releases/libloc/ \
> +    @PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate
> -- 
> 2.31.1
>

Patch

diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..19ace6d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@ 
+version=4
+https://source.ipfire.org/releases/libloc/ \
+    @PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ debian uupdate