Bug#409108: lintian: [improve message] W: bzrtools source: changelog-should-mention-nmu
Package: lintian
Version: 1.23.27
Severity: minor
Suppose following:
foo (0.13.0-0.1) unstable; urgency=low
* Non Maintainer upload.
Or with message:
* NMU upload.
The lintian-info reports:
W: bzrtools source: changelog-should-mention-nmu
N:
N: When you NMU a package, that fact should be mentioned on the first
N: line in the changelog entry.
N:
N: Maybe you didn't intend this upload to be a NMU, in that case, please
N: doublecheck that the most recent entry in the changelog is
N: byte-for-byte identical to the maintainer or one of the uploaders.
N:
SUGGESTION
The info message could give the exact phrase to use.
N: When you NMU a package, that fact should be mentioned on the first
N: line in the changelog entry:
N:
N: * Non Maintainer-upload.
...
E.g. to notice the missing hyphen in first message is not very obvios.
Or, there could be some leverage to match some obvious strings that
look like the correct string:
/[*].*(Non[- \t]Maintainer upload|NMU[ \t]upload)/i
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
Versions of packages lintian depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii diffstat 1.43-2 produces graph of changes introduc
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.19-1 Determines file type using "magic"
ii gettext 0.16.1-1 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchangel 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-5 The on-line manual pager
ii perl [libdigest-md5-pe 5.8.8-7 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: