Bug#933305: lintian: pedantic complaint about duplicate items in a single debian/changelog entry

2019-07-28 Thread Paul Wise
Package: lintian
Severity: wishlist

This morning I saw a package upgrade that had a changelog entry with
these two lines in it.

  * debian/control: Use debhelper-compat 12
  * debian/control: Use debhelper-compat 12

I think a pedantic complaint about the duplicate items would be
appropriate to have in lintian.

I would suggest each item in the changelog entry should be stripped of
whitespace before comparing them so that trailing whitespace in one of
them still triggers the complaint.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



signature.asc
Description: This is a digitally signed message part


Bug#933304: lintian: suggest switching from debian/compat to debhelper-compat

2019-07-28 Thread Paul Wise
Package: lintian
Severity: wishlist

debhelper has replaced debian/compat with the debhelper-compat virtual
package for most circumstances. Many packages made the switch already.

https://manpages.debian.org/unstable/debhelper/debhelper.7.en.html#COMPATIBILITY_LEVELS

I would like a pedantic reminder from lintian to switch from the
debian/compat file to the debhelper-compat virtual package.

Please note that there are some circumstances in which lintian should
not complain about use of debian/compat:

   Note that debhelper does not provide debhelper-compat for
   experimental or beta compatibility levels; packages experimenting
   with those compatibility levels should use debian/compat or
   DH_COMPAT.

In addition, it would probably be correct to not emit this if the
debhelper build-dep allows versions before the debhelper version that
added this feature (11.1.5~alpha1) or for uploads to stretch-backports
or earlier suites (the feature is in debhelper in stretch-backports but
isn't available in stretch itself):

   debhelper (11.1.5~alpha1) experimental; urgency=medium

 ...
 * Dh_Lib: Add an experimental feature to determine the requested
   compat level from the Build-Depends field.

-- Niels Thykier   Sat, 24 Feb 2018 16:01:31 +

   debhelper  | 9.20150101+deb8u2 | oldoldstable  | source, all
   debhelper  | 10.2.5| oldstable | source, all
   debhelper  | 12.1.1~bpo9+1 | stretch-backports | source, all
   debhelper  | 12.1.1| stable| source, all
   debhelper  | 12.2.3| testing   | source, all
   debhelper  | 12.2.3| unstable  | source, all

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



signature.asc
Description: This is a digitally signed message part


Bug#933134: lintian: depends on libparse-debianchangelog-perl that has no upstream maintainer

2019-07-28 Thread Felix Lechner
Hi intrigeri,

On Fri, Jul 26, 2019 at 1:45 PM  wrote:
>
> lintian depends, or build-depends, on libparse-debianchangelog-perl,
> which has had no upstream maintainer since 2011.

After you filed this bug I migrated Lintian away from that library.
With some luck, it will be in master soon---and well before the
bullseye freeze.

> see https://bugs.debian.org/933128, where we can discuss our options.

Our solution does not presently use Dpkg::Changelog::Debian. If it
continues to work well, I will post a reference to it on your main
bug.

Kind regards
Felix Lechner