Package: protobuf-c
Version: 1.3.3-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
X-Debbugs-Cc: sl...@ubuntu.com

Hello Robert,

in order to improve the maintainability of the protobuf-c package, you should
be adding a debian/watch file (to track new upstream versions) and an
autopkgtest in debian/tests/control.

In Ubuntu, the attached patch was applied to achieve the following:

  * Add d/watch and run the self tests as autopkgtest

Thanks for considering the patch.

Cheers,
  Lukas


-- System Information:
Debian Release: 11.0
  APT prefers impish-updates
  APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 
'impish'), (100, 'impish-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.13.0-23-generic (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru protobuf-c-1.3.3/debian/tests/control 
protobuf-c-1.3.3/debian/tests/control
--- protobuf-c-1.3.3/debian/tests/control       1970-01-01 01:00:00.000000000 
+0100
+++ protobuf-c-1.3.3/debian/tests/control       2022-02-04 12:27:42.000000000 
+0100
@@ -0,0 +1,3 @@
+Test-Command: dh_auto_configure; dh_auto_build; dh_auto_test
+Depends: @builddeps@
+Restrictions: allow-stderr
diff -Nru protobuf-c-1.3.3/debian/watch protobuf-c-1.3.3/debian/watch
--- protobuf-c-1.3.3/debian/watch       1970-01-01 01:00:00.000000000 +0100
+++ protobuf-c-1.3.3/debian/watch       2022-02-04 12:02:06.000000000 +0100
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
+  https://github.com/protobuf-c/protobuf-c/tags .*/v?(\d\S+)\.tar\.gz

Reply via email to