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:

- tags/n/nmu-in-changelog.tag


Changes:

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



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/7cdc5a98f9594a4defa885b6d9fe573e225aa268

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/7cdc5a98f9594a4defa885b6d9fe573e225aa268
You're receiving this email because of your account on salsa.debian.org.


Reply via email to