🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #782

Bug#1031878: --fail-on warnings fails overrides even though --fail-on overrides is not specified

#782
From: Noah Meyerhans
Date: Tue, 13 Oct 2026 21:00
34 lines
4118 bytes
On Wed, Oct 14, 2026 at 01:11:28AM +0530, Nilesh Patra wrote:
> > The following patch changes lintian to treat masks like overrides when
> > counting reported tags.  With this patch applied, tags that are masked
> > internally no longer count as reported, so they don't trigger "fail-on"
> > for different severities.  Note that it specifically does *not* trigger
> > '--fail-on override'.  That would be easy to implement, but I don't
> > think it's the right thing to do, as a masked tag is not really under a
> > package maintainer's control and doesn't indicate anything that they've
> > specifically enabled in their package.
> > 
> > This is a slight change in behavior, but I think it's a reasonable one.
> > The existence of this bug highlights how confusing the current behavior
> > can be.
> 
> As such, I dislike the idea of screen altogether - it is simply easier to not
> trigger certain tags when they should not be triggered rather than masking it
> like this.

Yeah, this wasn't something I'd seen before and I was a bit surprised by
it.

I don't know the history of these screens/masks, but I suspect the idea
was to simplify the creation of exceptions without requiring them to be
built into the checks directly.  It makes sense, but is obviously a
little unexpected.

> Dropping that should not be too difficult, but assessing the impact of it would
> need some analysis. I guess for now we could take your patch.
> 
> Please make an MR -- it is much easier to review with passing CI.

https://salsa.debian.org/lintian/lintian/-/merge_requests/820

noah
Technical Details
Message-ID: <NNRLj-5kCf-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <G2IXD-8cp6-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <H3Jmq-2u59-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <NNQmd-5jYd-1@gated-at.bofh.it> <NNQPg-5k92-17@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <NNQPg-5k92-17@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Noah Meyerhans <noahm@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1031878: --fail-on warnings fails overrides even though --fail-on overrides is not specified
Date: Tue, 13 Oct 2026 23:00:01 +0200
Message-ID: <NNRLj-5kCf-3@gated-at.bofh.it>
References: <G2IXD-8cp6-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <H3Jmq-2u59-5@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <NNQmd-5jYd-1@gated-at.bofh.it> <NNQPg-5k92-17@gated-at.bofh.it> <G2IXD-8cp6-5@gated-at.bofh.it> <NNQPg-5k92-17@gated-at.bofh.it>
X-Original-To: Nilesh Patra <nilesh@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Oct 13 20:54:18 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Noah Meyerhans <noahm@debian.org>, 1031878@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: lintian-maint@debian.org
X-Debian-Pr-Message: followup 1031878
X-Debian-Pr-Package: lintian
X-Debian-Pr-Keywords: confirmed patch
X-Debian-Pr-Source: lintian
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: noahm
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996680
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1031878@bugs.debian.org, Philipp Huebner <debalance@debian.org>
X-Original-Date: Tue, 13 Oct 2026 16:01:37 -0400
X-Original-Message-ID: <as6OIdewo-4ZTGlx@doom.morgul.net>
X-Original-References: <4145f3c1-bc94-0ffa-df88-bae2b8be6dbe@rocksolidsolutions.org> <4145f3c1-bc94-0ffa-df88-bae2b8be6dbe@rocksolidsolutions.org> <4145f3c1-bc94-0ffa-df88-bae2b8be6dbe@rocksolidsolutions.org> <e8c07ffd-a01b-aa7d-1843-3a2e5de610b3@debian.org> <4145f3c1-bc94-0ffa-df88-bae2b8be6dbe@rocksolidsolutions.org> <as6BSsBWRfRPCBWp@doom.morgul.net> <5f7de88d-fa33-49d2-b784-0c0cebdc9581@debian.org> <4145f3c1-bc94-0ffa-df88-bae2b8be6dbe@rocksolidsolutions.org> <5f7de88d-fa33-49d2-b784-0c0cebdc9581@debian.org>