Lintian Fixes - trove-dashboard

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 6fa3df4..828e9ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+trove-dashboard (20.0.0-3) 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>  Mon, 19 Jun 2023 15:36:11 -0000
+
 trove-dashboard (20.0.0-2) unstable; urgency=medium
 
   * Uploading to unstable.
diff --git a/debian/control b/debian/control
index 0a88d09..86a1cc8 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,
@@ -31,7 +31,7 @@ Build-Depends-Indep:
  python3-xvfbwrapper,
  subunit,
  testrepository,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/trove-dashboard.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/trove-dashboard
 Homepage: https://opendev.org/openstack/trove-dashboard
diff --git a/debian/rules b/debian/rules
index 454cd21..1877188 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
@@ -28,10 +28,9 @@ override_dh_install:
 	cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/trove_dashboard/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)))
 	set -e ; for i in $(PYTHON3S) ; do \
 		NOSE_WITH_OPENSTACK=1 \
 			NOSE_OPENSTACK_COLOR=1 \
@@ -44,4 +43,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..b1cb17b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/trove-dashboard

Run locally

More details

Full run details

Historical runs