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

lintian: r1035 - in trunk: checks debian frontend



Author: rra
Date: 2007-12-04 06:32:19 +0100 (Tue, 04 Dec 2007)
New Revision: 1035

Modified:
   trunk/checks/lintian.desc
   trunk/debian/changelog
   trunk/frontend/lintian
Log:
* checks/lintian.desc:
  + [RA] Add critical as a recognized urgency.
* frontend/lintian:
  + [RA] Add critical as a recognized urgency.

Modified: trunk/checks/lintian.desc
===================================================================
--- trunk/checks/lintian.desc	2007-12-04 05:27:34 UTC (rev 1034)
+++ trunk/checks/lintian.desc	2007-12-04 05:32:19 UTC (rev 1035)
@@ -29,7 +29,7 @@
 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, high, and emergency
+ one of the allowed values of low, medium, high, critical, 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.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-12-04 05:27:34 UTC (rev 1034)
+++ trunk/debian/changelog	2007-12-04 05:32:19 UTC (rev 1035)
@@ -51,6 +51,8 @@
            (package-section-games-but-contains-no-game) or that contain
            anything in usr/bin at all, which is usually a mistake.
            (package-section-games-but-contains-no-game). (Closes: #451668)
+  * checks/lintian.desc:
+    + [RA] Add critical as a recognized urgency.
   * checks/patch-systems:
     + [HE] Add complete new check script, intended to check for usual
            problems when using patch systems. Start with three
@@ -80,6 +82,9 @@
     + [TK] Add Vcs-* fields to point to Lintian's repository.
     + [RA] Update standards version to 3.7.3.
 
+  * frontend/lintian:
+    + [RA] Add critical as a recognized urgency.
+
   * man/lintian.1:
     + [RA] Be clearer about what files lintian takes as arguments; in
       particular, mention that source packages are checked by providing

Modified: trunk/frontend/lintian
===================================================================
--- trunk/frontend/lintian	2007-12-04 05:27:34 UTC (rev 1034)
+++ trunk/frontend/lintian	2007-12-04 05:32:19 UTC (rev 1035)
@@ -656,7 +656,7 @@
 	    } else {
 		my $urgency = lc $data->{'urgency'};
 		$urgency =~ s/ .*//;
-		unless ($urgency =~ /^(low|medium|high|emergency)$/i) {
+		unless ($urgency =~ /^(low|medium|high|critical|emergency)$/i) {
 		    tag("bad-urgency-in-changes-file", $data->{'urgency'});
 		}
 	    }



Reply to: