lintian: r817 - in trunk: checks debian frontend
Author: rra
Date: 2007-02-27 07:01:00 +0100 (Tue, 27 Feb 2007)
New Revision: 817
Modified:
trunk/checks/lintian.desc
trunk/debian/changelog
trunk/frontend/lintian
Log:
* checks/lintian.desc:
+ [RA] List emergency as a valid urgency.
+ [RA] Accept emergency as a valid urgency and check urgencies
case-insensitively since that's what Policy specifies. Thanks, Joey
Hess. (Closes: #412577)
Modified: trunk/checks/lintian.desc
===================================================================
--- trunk/checks/lintian.desc 2007-02-01 05:29:23 UTC (rev 816)
+++ trunk/checks/lintian.desc 2007-02-27 06:01:00 UTC (rev 817)
@@ -29,9 +29,10 @@
Tag: bad-urgency-in-changes-file
Type: error
Info: The keyword value of the "Urgency" field in the .changes file is not
- one of the allowed values of low, medium, and high (case-insensitive).
- This value normally taken from the first line of the most recent entry in
- <tt>debian/changelog</tt>, which is probably where the error is.
+ one of the allowed values of low, medium, high, and emergency
+ (case-insensitive). This value normally taken from the first line of the
+ most recent entry in <tt>debian/changelog</tt>, which is probably where
+ the error is.
Ref: policy 5.6.17
Tag: file-size-mismatch-in-changes-file
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-02-01 05:29:23 UTC (rev 816)
+++ trunk/debian/changelog 2007-02-27 06:01:00 UTC (rev 817)
@@ -11,6 +11,8 @@
Applied patch to implement this by Ian Beckwith. (Closes: #403553).
* checks/menus:
+ [JA] Perl syntax corrections. Removed extra empty newlines.
+ * checks/lintian.desc:
+ + [RA] List emergency as a valid urgency.
* checks/scripts{.desc,}:
+ [JA] Added check for `openbsd-inetd | inet-superserver'
which compliments the older check `netbase | update-inetd'.
@@ -32,6 +34,9 @@
+ [JA] Removed trailing spaces and other perl syntax corrections.
+ [JA] Add --no-colored-output option to disable ANSI color output, even
when STDOUT is a TTY. Patch from Loïc Minier.
+ + [RA] Accept emergency as a valid urgency and check urgencies
+ case-insensitively since that's what Policy specifies. Thanks, Joey
+ Hess. (Closes: #412577)
* lib/Checker.pm
+ [JA] Perl syntax corrections.
@@ -48,7 +53,7 @@
* unpack/unpack-*pkg*
+ [JA] Perl syntax corrections.
- -- Russ Allbery <rra@debian.org> Sun, 3 Dec 2006 14:16:40 -0800
+ -- Russ Allbery <rra@debian.org> Mon, 26 Feb 2007 21:58:13 -0800
lintian (1.23.27) unstable; urgency=low
Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian 2007-02-01 05:29:23 UTC (rev 816)
+++ trunk/frontend/lintian 2007-02-27 06:01:00 UTC (rev 817)
@@ -655,7 +655,7 @@
} else {
my $urgency = lc $data->{'urgency'};
$urgency =~ s/ .*//;
- unless ($urgency =~ /^(low|medium|high)$/) {
+ unless ($urgency =~ /^(low|medium|high|emergency)$/i) {
tag("bad-urgency-in-changes-file", $data->{'urgency'});
}
}
Reply to: