]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
d/lintian-overrids: add repeated-trigger-name override
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Sep 2018 09:21:04 +0000 (11:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 8 Jan 2019 16:35:59 +0000 (17:35 +0100)
in this package we provide api functions, thus we want to activate
the pve-api-update trigger, so that packages like pve-manager get
notified about it. But we also use api functions directly so we setup
an interest in the pve-api-update trigger. This results in an lintian
error (lintian version from buster or newer) which we can override:

> [...]
> This tag is also triggered if the package has an activate trigger
> for something on which it also declares an interest. The only (but
> rather unlikely) reason to do this is if another package also
> declares an interest and this package needs to activate that other
> package. If the package is using it for this exact purpose, then
> please use a Lintian override to state this.
-- https://lintian.debian.org/tags/repeated-trigger-name.html

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/lintian-overrides [new file with mode: 0644]

diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644 (file)
index 0000000..c4d0d77
--- /dev/null
@@ -0,0 +1 @@
+pve-ha-manager: repeated-trigger-name interest-noawait pve-api-updates (line 2) vs activate-noawait pve-api-updates (line 1)