Run of lintian-fixes for bdii

Merge these changes:

git pull https://janitor.debian.net/git/bdii lintian-fixes/main
Full worker log

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 61c1406..6bf9e23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+bdii (6.0.0-2) UNRELEASED; urgency=medium
+
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+  * Update standards version to 4.6.2, no changes needed.
+  * Set upstream metadata fields: Repository.
+  * Add debian/watch file, using github.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 15 Jan 2023 15:38:00 -0000
+
 bdii (6.0.0-1) unstable; urgency=medium
 
   * Version 6.0.0
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b1bd38b..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-13
diff --git a/debian/control b/debian/control
index eae24e6..bd8521e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,10 +3,10 @@ Section: net
 Priority: optional
 Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se>
 Build-Depends:
- debhelper (>= 13),
+ debhelper-compat (= 13),
  python3,
  dh-python
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Homepage: https://github.com/EGI-Federation/bdii
 Vcs-Browser: https://salsa.debian.org/ellert/bdii
 Vcs-Git: https://salsa.debian.org/ellert/bdii.git
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..333ca72
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/EGI-Federation/bdii/issues
+Bug-Submit: https://github.com/EGI-Federation/bdii/issues/new
+Repository: https://github.com/EGI-Federation/bdii.git
+Repository-Browse: https://github.com/EGI-Federation/bdii
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c26899a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/bdii-$1\.tar\.gz/ https://github.com/EGI-Federation/bdii/tags .*\/v(\d\S+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Publish History

  • 2023-03-14T01:01: Failed to create merge proposal: publisher-invalid-response (
    INFO:brz:Total 670 (delta 2), reused 0 (delta 0), pack-reused 662
    Traceback (most recent call last):
      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "/usr/local/lib/python3.11/dist-packages/janitor/publish_one.py", line 575, in <module>
        publish_result, branch_name = publish_one(
                                      ^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/janitor/publish_one.py", line 413, in publish_one
        existing_proposal = forge.get_proposal_by_url(existing_mp_url)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 874, in get_proposal_by_url
        mr = self._get_merge_request(project['path_with_namespace'], merge_id)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 596, in _get_merge_request
        response = self._api_request('GET', path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 431, in _api_request
        return self.transport.request(
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1822, in request
        response = self._opener.open(request)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 525, in open
        response = meth(req, response)
                   ^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1688, in http_response
        response = self.parent.error('http', request, response,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 563, in error
        return self._call_chain(*args)
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
        result = func(*args)
                 ^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1704, in http_error_default
        raise errors.UnexpectedHttpStatus(
    breezy.errors.UnexpectedHttpStatus: Unexpected HTTP status 500 for https://salsa.debian.org/api/v4/projects/ellert%2Fbdii/merge_requests/1: Unable to handle http code: Internal Server Error
    
    )
  • 2023-03-14T00:25: Failed to create merge proposal: publisher-invalid-response (
    INFO:brz:Total 670 (delta 2), reused 0 (delta 0), pack-reused 662
    WARNING:brz:Text conflict in 
    INFO:brz:found 2 deltas to reuse
    INFO:brz:
    View merge request for lintian-fixes:
      https://salsa.debian.org/ellert/bdii/-/merge_requests/1
    Traceback (most recent call last):
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 279, in set_description
        self._update(description=description)
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 257, in _update
        self.gl._update_merge_request(
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 611, in _update_merge_request
        response = self._api_request('PUT', path, fields=mr)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 431, in _api_request
        return self.transport.request(
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1822, in request
        response = self._opener.open(request)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 525, in open
        response = meth(req, response)
                   ^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1688, in http_response
        response = self.parent.error('http', request, response,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 563, in error
        return self._call_chain(*args)
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
        result = func(*args)
                 ^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1704, in http_error_default
        raise errors.UnexpectedHttpStatus(
    breezy.errors.UnexpectedHttpStatus: Unexpected HTTP status 500 for https://salsa.debian.org/api/v4/projects/18036/merge_requests/1: Unable to handle http code: Internal Server Error
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "/usr/local/lib/python3.11/dist-packages/janitor/publish_one.py", line 575, in <module>
        publish_result, branch_name = publish_one(
                                      ^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/janitor/publish_one.py", line 499, in publish_one
        publish_result = publish(
                         ^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/janitor/publish_one.py", line 179, in publish
        return publish_changes(
               ^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/silver_platter/publish.py", line 725, in publish_changes
        (proposal, is_new) = propose_changes(
                             ^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/silver_platter/publish.py", line 315, in propose_changes
        resume_proposal.set_description(mp_description)
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 285, in set_description
        self._mr = self.gl._get_merge_request(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 596, in _get_merge_request
        response = self._api_request('GET', path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/plugins/gitlab/forge.py", line 431, in _api_request
        return self.transport.request(
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1822, in request
        response = self._opener.open(request)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 525, in open
        response = meth(req, response)
                   ^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1688, in http_response
        response = self.parent.error('http', request, response,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 563, in error
        return self._call_chain(*args)
               ^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
        result = func(*args)
                 ^^^^^^^^^^^
      File "/usr/local/lib/python3.11/dist-packages/breezy/transport/http/urllib.py", line 1704, in http_error_default
        raise errors.UnexpectedHttpStatus(
    breezy.errors.UnexpectedHttpStatus: Unexpected HTTP status 500 for https://salsa.debian.org/api/v4/projects/18036/merge_requests/1: Unable to handle http code: Internal Server Error
    
    )

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t lintian-fixes bdii

Lintian Result

Reviews

Reviewer Verdict Comment
jelmer@debian.org approved