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

[Git][lintian/lintian][master] clarify nmu-in-changelog tag warning



Title: GitLab

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

Commits:

  • 7cdc5a98
    by Antoine Beaupré at 2024-12-22T15:50:31-05:00
    clarify nmu-in-changelog tag warning
    
    I had this in my changelog:
    
     * Merge NMU
    
    Which lintian thought I was mistakenly declaring my upload as a NMU. I
    wasn't, but okay, I shouldn't call it a "merge". So I wrote this:
    
     * Acknwoledge NMU
    
    And it STILL didn't work. WTF? LINTIAN WHAT AM I SUPPOSED TO DO?!
    
    Did you spot the typo? Yes? Well, you're smarter or less tired than
    me.
    
    So let's help our users here and spell out something they can just
    copy-paste.
    
    This covers the case where the maintainer tries to recognize a
    previous NMU upload in the commitlog but does so in a way that lintian
    doesn't recognize as an acknowledgement. lintian then treats this as
    the changelog announcing that it's a NMU, while it is not actually a
    NMU, kind of the opposite.
    
    This was the changelog that triggered the warning (and shouldn't:
    
        requests-file (2.1.0-1) unstable; urgency=medium
    
         * Acknwoledge NMU
         * New upstream release
    
    And this is the fixed changelog that silenced the warning:
    
        requests-file (2.1.0-1) unstable; urgency=medium
    
         * Acknowledge NMU
         * New upstream release
    

1 changed file:

Changes:

  • tags/n/nmu-in-changelog.tag
    ... ... @@ -9,5 +9,10 @@ Explanation: The first line of the changelog entry for this package appears to
    9 9
      maintainers.
    
    10 10
      .
    
    11 11
      If this was intended to be an NMU, do not add yourself as a maintainer or
    
    12
    - uploader. Otherwise, please rephrase your changelog entry to not cause
    
    13
    - confusion.
    12
    + uploader.
    
    13
    + .
    
    14
    + If this is *not* intended to be a NMU, remove the string "NMU".
    
    15
    + .
    
    16
    + If you are trying to acknowledge a NMU, you might have misspelled the
    
    17
    + string lintian expects in such cases. Rephrase your changelog entry to
    
    18
    + say "Acknowledge NMU" literally.


  • Reply to: