Bug#609153: lintian: Explanation for diff-contains-git-control-dir gives wrong advise for native packages
Package: lintian
Version: 2.4.3
Severity: minor
When checking a "3.0 (native)" source package which contains a .git
directory, lintian explains:
W: hobbit-plugins source: diff-contains-git-control-dir .git
N:
N: The Debian diff or native package contains files in a .git directory.
N: These are usually artifacts of the revision control system used by the
N: Debian maintainer and not useful in a diff or native package. Passing -i
N: to dpkg-buildpackage or the equivalent will automatically exclude them.
N:
N: Severity: normal, Certainty: certain
N:
Passing -i to dpkg-source (!) does not help in case of a native package
as in that case -I must be used to exclude the .git directory.
Additionally, the explanation should mention dpkg-source instead of
dpkg-buildpackage (or maybe both) because in the end, -i (and -I) is an
dpkg-source option passed to it by dpkg-buildpackage if it is called
with that option.
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20.1-15 The GNU assembler, linker and bina
ii diffstat 1.54-1 produces graph of changes introduc
ii dpkg-dev 1.15.8.7 Debian package development tools
ii file 5.04-5 Determines file type using "magic"
ii gettext 0.18.1.1-3 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libdigest-sha-perl 5.50-1 Perl extension for SHA-1/224/256/3
ii libipc-run-perl 0.89-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2.1 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.56-1 module to manipulate and access UR
ii locales-all [locales] 2.11.2-7 Embedded GNU C Library: Precompile
ii man-db 2.5.7-8 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-16 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
ii binutils-multiarch 2.20.1-15 Binary utilities that support mult
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-8 on-line manual pager
-- no debconf information
Reply to: