summaryrefslogtreecommitdiffstats
path: root/debian/ansible.lintian-overrides
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ansible.lintian-overrides')
-rw-r--r--debian/ansible.lintian-overrides28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/ansible.lintian-overrides b/debian/ansible.lintian-overrides
new file mode 100644
index 00000000..eadde8b3
--- /dev/null
+++ b/debian/ansible.lintian-overrides
@@ -0,0 +1,28 @@
+# these are scripts and templates used by ansible modules; they are not intended
+# to be run on the host.
+ansible: script-not-executable [usr/lib/python3/dist-packages/ansible_collections/*]
+
+# These scripts that are not executed on the local host.
+ansible: shell-script-fails-syntax-check [usr/lib/python3/dist-packages/ansible_collections/*.bsx]
+
+# Each collection contains docs next to the code, it wouldn't be sane to copy
+# the docs to a different location.
+ansible: package-contains-documentation-outside-usr-share-doc [usr/lib/python3/dist-packages/ansible_collections/*]
+
+# Yes, that information is ideally in debian/copyright. But I'm not removing
+# them all.
+ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/LICENSE]
+ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/LICENSE.txt]
+ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/COPYING*]
+ansible: extra-license-file [usr/lib/python3/dist-packages/ansible_collections/*/GPL-3.0-or-later.txt]
+
+# lintian warns about this and refers to dpkg-maintscript-helper(1), where
+# exactly this method is documented.
+ansible: maintainer-script-should-not-use-dpkg-maintscript-helper "dpkg-maintscript-helper" *
+
+# Practically all those interpreters are run on remote nodes (e.g. groovy,
+# powershell, etc.). This generates more noise than is helpful.
+ansible: unusual-interpreter * [usr/lib/python3/dist-packages/ansible_collections/*]
+
+# Just noise.
+ansible: repeated-path-segment * [*]