Lintian Fixes - vitrage-dashboard

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index b7888a6..0f87c28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+vitrage-dashboard (4.0.0-4) UNRELEASED; urgency=medium
+
+  * Update lintian override info format in d/source/lintian-overrides on line
+    1-4.
+  * 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 21:33:35 -0000
+
 vitrage-dashboard (4.0.0-3) unstable; urgency=medium
 
   * Cleans better (Closes: #1045222).
diff --git a/debian/control b/debian/control
index d8e3a9e..60a229e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Michal Arbet <michal.arbet@ultimum.io>,
  Thomas Goirand <zigo@debian.org>,
 Build-Depends:
- debhelper-compat (= 11),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -29,7 +29,7 @@ Build-Depends-Indep:
  python3-xstatic-moment-timezone,
  python3-xvfbwrapper,
  subunit,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/vitrage-dashboard.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/vitrage-dashboard
 Homepage: https://github.com/openstack/vitrage-dashboard
diff --git a/debian/rules b/debian/rules
index cede1b8..2cd5e8b 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
@@ -32,10 +32,9 @@ override_dh_install:
 	cp $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/vitrage_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)))
 	for i in $(PYTHON3S) ; do \
 		PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages \
 			NOSE_WITH_OPENSTACK=1 \
@@ -50,4 +49,3 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	done
 	## Delete __pycache__
 	find . -name __pycache__ -prune -exec rm -rf {} +;
-endif
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 8aaab0d..fede30f 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -1,4 +1,4 @@
-source-is-missing vitrage_dashboard/dashboard/static/vendor/dagre-d3/dagre-d3.core.js *
-source-is-missing vitrage_dashboard/dashboard/static/vendor/dagre/dagre.core.js *
-source-is-missing vitrage_dashboard/dashboard/static/vendor/graphlib/graphlib.core.js *
-source-is-missing vitrage_dashboard/dashboard/static/vendor/lodash/lodash.compat.js *
+source-is-missing [vitrage_dashboard/dashboard/static/vendor/dagre-d3/dagre-d3.core.js]
+source-is-missing [vitrage_dashboard/dashboard/static/vendor/dagre/dagre.core.js]
+source-is-missing [vitrage_dashboard/dashboard/static/vendor/graphlib/graphlib.core.js]
+source-is-missing [vitrage_dashboard/dashboard/static/vendor/lodash/lodash.compat.js]
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..353c5db
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/vitrage-dashboard

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details