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

[SCM] Debian package checker branch, master, updated. 2.0.0-40-gc60734a



The following commit has been merged in the master branch:
commit c60734a3b3be2e130e3988a1abe27c1aab4d2420
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Nov 11 21:21:27 2008 +0000

    Don't treat literal use of "?" in descriptions as part of a question.
    
    Don't detect the use of "?" as a literal character or wildcard as part
    of a question in an extended template description. (Closes: #500661)
    
    Neither "You may use '?' to indicate ..." nor "apache-???" is a
    question so we shouldn't complain about them being such.

diff --git a/checks/debconf b/checks/debconf
index 1ca45c3..cfab7b7 100644
--- a/checks/debconf
+++ b/checks/debconf
@@ -312,7 +312,7 @@ foreach my $template (@templates) {
 		tag "malformed-question-in-templates", $template->{template};
 	    }
 	}
-	if (defined ($extended) && $extended =~ /\?/) {
+	if (defined ($extended) && $extended =~ /[^\?]\?(\s+|$)/) {
 	    tag "using-question-in-extended-description-in-templates", $template->{template};
 	}
 	if ($type eq 'note') {
diff --git a/debian/changelog b/debian/changelog
index 5167ea6..3db1380 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,11 @@ lintian (2.1.0) unstable; urgency=low
     + [FL] New variable $known_shells_regex which matches known shell
       names.  This removes some synchronisation issues between the
       different regexes in use.
-  * checks/debconf.desc:
+  * checks/debconf{,.desc}:
     + [CW] Update my e-mail address.
+    + [ADB] Don't detect the use of "?" as a literal character or wildcard
+      as part of a question in an extended template description.
+      (Closes: #500661)
   * checks/fields:
     + [ADB] Ignore non-dependency fields when considering whether a
       versioned dependency is satisfied by the perl core packages.

-- 
Debian package checker


Reply to: