The following commit has been merged in the master branch:
commit 084c116749e2d4316fd342be1a624e744003be9d
Author: Adam D. Barratt <[email protected]>
Date: Mon Jan 26 20:30:02 2009 +0000
Add support for pedantic tags.
* lib/Lintian/Output/LetterQualifier.pm:
+ Add support for pedantic tags.
The other experimental output formats simply output the severity name
and so need no further changes for pedantic tags.
diff --git a/debian/changelog b/debian/changelog
index 85c8420..4884651 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ lintian (2.2.1) UNRELEASED; urgency=low
+ [ADB] Add a colour for pedantic tags to avoid warnings when colourised
output is used and make the combination more useful. Thanks, gregor
herrmann. (Closes: #513132)
+ * lib/Lintian/Output/LetterQualifier.pm:
+ + [ADB] Add support for pedantic tags.
* man/lintian.1:
+ [ADB] Fix the spelling of "pedantic". Thanks, Michal Čihař.
diff --git a/lib/Lintian/Output/LetterQualifier.pm
b/lib/Lintian/Output/LetterQualifier.pm
index b90c2bd..2f20dc6 100644
--- a/lib/Lintian/Output/LetterQualifier.pm
+++ b/lib/Lintian/Output/LetterQualifier.pm
@@ -29,6 +29,11 @@ use Lintian::Output qw(:util);
use base qw(Lintian::Output);
my %codes = (
+ 'pedantic' => {
+ 'wild-guess' => 'P?',
+ 'possible' => 'P ',
+ 'certain' => 'P!'
+ },
'wishlist' => {
'wild-guess' => 'W?',
'possible' => 'W ',
@@ -57,6 +62,11 @@ my %codes = (
);
my %lq_default_colors = (
+ 'pedantic' => {
+ 'wild-guess' => 'green',
+ 'possible' => 'green',
+ 'certain' => 'green'
+ },
'wishlist' => {
'wild-guess' => 'green',
'possible' => 'green',
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]