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

[Git][lintian/lintian][master] 2 commits: Bump the uses-debhelper-compat-file tag from pedantic to warning



Title: GitLab

Louis-Philippe Véronneau pushed to branch master at lintian / lintian

Commits:

  • a88b2fea
    by Louis-Philippe Véronneau at 2025-09-08T13:16:25+00:00
    Bump the uses-debhelper-compat-file tag from pedantic to warning
    
    The debhelper-compat virtual package has been available for a long time
    now and is the recommended way to set the debhelper compat level.
    
    Having multiple concurrent ways to set this value is confusing and makes
    it way harder to do QA consistently.
    
  • 74c4efd5
    by Louis-Philippe Véronneau at 2025-09-08T13:16:25+00:00
    rework the uses-debhelper-compat-file tag message and add mention of breakage in dh14
    

2 changed files:

Changes:

  • t/recipes/runner-features/runtests-options/eval/literal
    ... ... @@ -2,4 +2,4 @@ E: runtests-options source: invalid-standards-version 1.2.3
    2 2
     E: runtests-options: new-essential-package
    
    3 3
     W: runtests-options: empty-binary-package
    
    4 4
     W: runtests-options source: no-versioned-debhelper-prerequisite 13
    
    5
    -P: runtests-options source: uses-debhelper-compat-file [debian/compat]
    5
    +W: runtests-options source: uses-debhelper-compat-file [debian/compat]

  • tags/u/uses-debhelper-compat-file.tag
    1 1
     Tag: uses-debhelper-compat-file
    
    2
    -Severity: pedantic
    
    2
    +Severity: warning
    
    3 3
     Check: debhelper
    
    4
    -Explanation: This package uses a <code>debian/compat</code> file to denote the
    
    5
    - required debhelper compatibility number.
    
    4
    +Explanation: This package declares its debhelper compatibility level with the
    
    5
    + <code>debian/compat</code> file.
    
    6 6
      .
    
    7
    - However, debhelper has replaced <code>debian/compat</code> with the
    
    8
    - <code>debhelper-compat</code> virtual package for most circumstances.
    
    7
    + The recommended way to do so is to use the virtual package
    
    8
    + <code>debhelper-compat</code> instead.
    
    9 9
      .
    
    10
    - Packages not using an experimental or beta compatibility level should
    
    11
    - Build-Depend on the <code>debhelper-compat</code> virtual package, for
    
    10
    + From debhelper 14 onward, using <code>debian/compat</code> will not work
    
    11
    + anymore.
    
    12
    + .
    
    13
    + As such, unless you need an experimental or beta compatibility level, please
    
    14
    + remove the <code>debian/compat</code> file and add the
    
    15
    + <code>debhelper-compat</code> virtual package to your Build-Depends, for
    
    12 16
      example:
    
    13 17
      .
    
    14 18
       Build-Depends: debhelper-compat (= 13)
    


  • Reply to: