Lintian Fixes - sahara-dashboard

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index f9c3250..c8ab54f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+sahara-dashboard (17.0.0~rc1-2) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 10 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.1.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 19 Sep 2022 09:16:12 -0000
+
 sahara-dashboard (17.0.0~rc1-1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index f177177..6975936 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 (= 10),
+ debhelper-compat (= 13),
  dh-python,
  openstack-pkg-tools,
  python3-all,
@@ -38,7 +38,7 @@ Build-Depends-Indep:
  python3-unittest2,
  python3-xvfbwrapper,
  subunit,
-Standards-Version: 4.1.0
+Standards-Version: 4.1.1
 Vcs-Git: https://salsa.debian.org/openstack-team/horizon-plugins/sahara-dashboard.git
 Vcs-Browser: https://salsa.debian.org/openstack-team/horizon-plugins/sahara-dashboard
 Homepage: https://opendev.org/openstack/sahara-dashboard
diff --git a/debian/rules b/debian/rules
index 7d3365a..75c387e 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/sahara_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)))
 	NOSE_WITH_OPENSTACK=1 \
 		NOSE_OPENSTACK_COLOR=1 \
 		NOSE_OPENSTACK_RED=0.05 \
@@ -42,4 +41,3 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 		$(CURDIR)/manage.py test sahara_dashboard/test --settings=sahara_dashboard.test.settings --exclude-tag integration
 	## 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..fa01aa2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository-Browse: https://github.com/openstack/sahara-dashboard

Run locally

More details

Full run details