[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#913974: lintian: warn against direct access to the dpkg database from upstream code



tags 913974 + pending
thanks

Hi Guillem,

> to emit tags, as the bulk of the offending accesses are being
> done from upstream code.

I somehow missed this bit in your followup; sorry about that.
Anyway this is now implemented in Git, pending upload:

  https://salsa.debian.org/lintian/lintian/commit/b09c17bd8e29f57a2b0570ae4c6af43337c65e6a

  checks/files.desc                                  | 29 ++++++++++++++++++++++
  checks/files.pm                                    | 27 ++++++++++++++++++++
  checks/scripts.desc                                | 28 ---------------------
  data/scripts/maintainer-script-bad-command         |  2 --
  debian/changelog                                   |  4 +++
  .../debian/files-uses-dpkg-database-directly.docs  |  2 ++
  .../files-uses-dpkg-database-directly.install      |  4 +++
  .../debian/test-1                                  |  9 +++++++
  .../debian/test-2                                  |  3 +++
  t/tests/files-uses-dpkg-database-directly/desc     |  5 ++++
  t/tests/files-uses-dpkg-database-directly/tags     |  2 ++
  t/tests/legacy-maintainer-scripts/desc             |  2 +-
  t/tests/legacy-maintainer-scripts/tags             |  4 +--
  t/tests/scripts-maintainer-general/desc            |  3 +--
  t/tests/scripts-maintainer-general/tags            |  9 +------
  15 files changed, 90 insertions(+), 43 deletions(-)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: