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

Bug#703978: lintian: confusing error message "code of <tagname>"



Package: lintian
Severity: minor

The error message:

"""
Cannot determine the code of <tag> (severity: <Y>, certainity: <Z>).
"""

can be quite confusing if one does not realise that code here refers
to the "one-letter code" given to tags (e.g. "E").  It will mostly be
triggered by people writing their own profiles (and changing effective
severity) or people writing their own checks.

Maybe it would be better to check which one of the values were wrong
and emit something like:

"""
<tag> has unknown severity <severity>.  Valid values are: <list>
"""

~Niels

PS: Also lets play a game of "spot the typo".


Reply to: