Lintian Fixes - watcher-dashboard

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index a2cc863..56bf1fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+watcher-dashboard (9.0.0-4) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 11 to 13.
+    + Drop check for DEB_BUILD_OPTIONS containing "nocheck", since debhelper now
+      does this.
+    + Replace python_distutils buildsystem with pybuild.
+    + debian/rules: Drop --fail-missing argument to dh_missing, which is now the
+      default.
+  * Set upstream metadata fields: Repository-Browse.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 15 Aug 2023 15:05:21 -0000
+
 watcher-dashboard (9.0.0-3) unstable; urgency=medium
 
   * Cleans better (Closes: #1045653).
diff --git a/debian/control b/debian/control
index 4e5d00b..9aa6990 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Thomas Goirand <zigo@debian.org>,
  Michal Arbet <michal.arbet@ultimum.io>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -25,7 +25,7 @@ Build-Depends-Indep:
  python3-watcherclient,
  python3-xvfbwrapper,
  python3-yaml,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/watcher-dashboard.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/watcher-dashboard
 Homepage: https://github.com/openstack/watcher-dashboard
diff --git a/debian/rules b/debian/rules
index 3715205..bc073b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 include /usr/share/openstack-pkg-tools/pkgos.make
 
 %:
-	dh $@ --buildsystem=python_distutils --with python3
+	dh $@ --buildsystem=pybuild --with python3
 
 override_dh_clean:
 	dh_clean
@@ -35,10 +35,9 @@ override_dh_install:
 	cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/watcher_dashboard/local/enabled/_[0-9]*.py $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/openstack_dashboard/local/enabled
 
 	dh_install
-	dh_missing --fail-missing
+	dh_missing
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	for i in $(PYTHON3S) ; do \
 		PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages \
 			NOSE_WITH_OPENSTACK=1 \
@@ -53,4 +52,3 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	done
 	## Delete __pycache__
 	find . -name __pycache__ -prune -exec rm -rf {} +;
-endif
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..4ed077f
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/watcher-dashboard

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details