From 72cc728e64d787c4a44e6f62ddd2ab42ec1fb551 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Sep 2019 20:11:15 +0100 Subject: lintian: Override some checks The mannpage message on line 51 is warning: file `', around line 51: table wider than line width and refers to this line dgit-maint-gbp(7) for maintainers already using git-buildpackage which does in fact fit (just) in an 80-column xterm. I hope dgit-badcommit-fixup is never going to be needed enough again to need a manpage. I don't agree that trailing whitespace in changelog is a problem. Remaining messages from lintian -EI --pedantic --no-tag-display-limit --suppress-tags=syntax-error-in-debian-changelog,changelog-empty-entry ../bpd/dgit_9.9~_multi.changes are as follows: W: dgit source: missing-debian-source-format I: dgit source: older-source-format 1.0 I don't agree that source format 1.0 is wrong. There are difficulties with 3.0 native (for example, that it forbids non-native versions) so 1.0 must continue to be used so that it continues to exist. I also don't agree that missing source format is a problem. The semantics are well defined. P: dgit source: package-uses-old-debhelper-compat-version 9 W: dgit source: unnecessary-testsuite-autopkgtest-field I like to keep things backwards compatible for a much longer time than most people. jessie is currently oldoldstable and has dh 9. P: dgit source: no-dep5-copyright I don't have effort for this. I think it is largely busywork but I would accept a patch. I: dgit: package-contains-empty-directory usr/share/man/man5/ Avoiding this is awkward. W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-mirror-rsync W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-repos-admin-debian W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-repos-policy-debian W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-repos-policy-trusting W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-repos-server W: dgit-infrastructure: binary-without-manpage usr/bin/dgit-ssh-dispatch In principle manpages for some of all of these would be good. But the usefuless of these programs is largely limited to people whose requirements are extremely similar to Debian's. Most people can just use a normal git server. Signed-off-by: Ian Jackson --- debian/dgit.lintian-overrides | 2 ++ debian/source/lintian-overrides | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 debian/dgit.lintian-overrides create mode 100644 debian/source/lintian-overrides diff --git a/debian/dgit.lintian-overrides b/debian/dgit.lintian-overrides new file mode 100644 index 0000000..2f7a968 --- /dev/null +++ b/debian/dgit.lintian-overrides @@ -0,0 +1,2 @@ +manpage-has-errors-from-man usr/share/man/man1/dgit.1.gz file '', around line 51: +binary-without-manpage usr/bin/dgit-badcommit-fixup diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..a4bc734 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +file-contains-trailing-whitespace debian/changelog * +unknown-runtime-tests-restriction x-dgit-* -- cgit v1.2.3