On 12/04/26 4:36 am, Gioele Barabucci wrote:
> Package: lintian
> Version: 2.134.0
> Severity: wishlist
> 
> Dear lintian maintainers,
> 
> could a warning be raised if a package sets the Priority: field in its 
> Source: stanza?
> 
> The Priority: field in the Source: stanza is inherited by the binary 
> packages stanzas, but it is rarely the case that all binary packages 
> should have the same Priority (unless it is "optional", but that is 
> handled by another lintian check).
> 
> This not-so-well-known inheritance mechanism leads to issues like 
> <https://bugs.debian.org/1132985>

I am not sure if this is a good idea, as this would make all such
packages which have a Priority value of not optional, lintian un-clean.

Also if a source package has a single binary package and it has Priority
field in source stanza, that is already good enough so this is another
edge case lintian should ignore.
And there will probably be more cases to consider before emitting this.
Even then, it should /not/ be a warning level severity, I suppose?

Thanks,
Nilesh

Reply via email to