Package: debhelper
Version: 13.5.2
Severity: wishlist

Dear debhelper maintainers,

For lintian-brush, it would be really useful if it was possible to discover
which patterns it would be installing, why and where.

I have no idea how hard this would be to implement, and whether this
information is readily available in debhelper - but figured it's at least worth
starting the discussion and seeing where it goes. I suspect there are some
corner cases where it's impossible to discover like where dh-exec is in use
(but even some information would be great).

I imagine something like a "dh_assistant installed-files" that then reports:

[
   {
      'install_path': '/usr/share/man/man1/blah.1',
      'tool': 'dh_installman',
      'tool_config': 'debian/blah.manpages',
      'source_path': 'debian/blah.1',
   },
   {
      'install_path': '/usr/bin/blah',
      'tool': 'dh_install',
      'source_path': 'scripts/blah',
   },
   {
      'install_path': '/usr/lib/*',
      'tool': 'dh_install',
      'source_path': 'debian/tmp/usr/lib/*',
   },
   ...
]

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20180224.1+nmu1
ii  dh-autoreconf            20
ii  dh-strip-nondeterminism  1.12.0-1
ii  dpkg                     1.20.9
ii  dpkg-dev                 1.20.9
ii  dwz                      0.14-1
ii  file                     1:5.39-3
ii  libdebhelper-perl        13.5.2
ii  libdpkg-perl             1.20.9
ii  man-db                   2.9.4-2
ii  perl                     5.32.1-5
ii  po-debconf               1.0.21+nmu1

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make  <none>

-- no debconf information

Reply via email to