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

Re: Does mentors' lintian have different tag severity?



On Thursday, May 22, 2025 10:43:52 AM Mountain Standard Time Ahmad Khalifa 
wrote:
> On 21/05/2025 21:11, Soren Stoutner wrote:
> > On Wednesday, May 21, 2025 12:08:09 PM Mountain Standard Time Ahmad 
Khalifa
> > 
> >> Does mentors "debexpo" apply different severity to the lintian tags?
> >> 
> >> I'm running lintian locally on testing, which has the same lintian
> >> version as unstable, but I see 'P' or 'X' locally, then get 'Error' and
> >> 'Info' on mentors.d.n
> >> 
> >> This one: spelling-error-in-binary is Pedantic in the logs, in
> >> lintian-explain-tags and even here:
> >> - https://udd.debian.org/lintian-tag/spelling-error-in-binary
> >> - https://lintian.debian.org/tags/spelling-error-in-binary.html
> >> but mentors shows Info
> >> 
> >> This one: source-is-missing is Experimental, but shows as Error on 
mentors.
> >> 
> >> Am I missing a config somewhere or is mentors doing this for a reason?
> >> The mismatch is a bit annoying. Have to do a second upload and push it
> >> to salsa too.
> >> 
> >> 
> >> PS, I use "-EI --pedantic --profile debian" all the time.
> > 
> > Mentors uses an old version of lintian.  I am not sure which version it 
is,
> > but in some cases it has different tags and in others it has different
> > severities or different checks for the same tag.
> > 
> > This is not a unique problem with Mentors.  A lot of Debian infrastructure
> > runs lintian from either stable or oldstable, which causes consternation
> > from
> > time to time.
> 
> Ohh, it's older, not newer. I imagined udd would be the older one.

Basically, every Debian service, including UDD runs older versions of lintian.  
But how old varies.

> Strangely though, mentors did find a couple of Warnings that my local
> lintian didn't.

Lintian has dropped some tags that were considered inaccurate.  Some have 
changed priority, so unless you are displaying Pedantic or Experimental you 
will no longer see them.  And others have had their checks modified to 
minimize false positives, so they may no longer flag for your code base.

I personally check locally with:

lintian -iIE --pedantic

Then I choose to ignore Pedantic and Experimental tags that I don’t feel apply 
to my project.

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: