lintian: r997 - in trunk: checks debian testset/debconf/debian
Author: he
Date: 2007-11-29 21:35:44 +0100 (Thu, 29 Nov 2007)
New Revision: 997
Modified:
trunk/checks/debconf
trunk/debian/changelog
trunk/testset/debconf/debian/debconf-test.templates
Log:
* checks/deconf:
+ [HE] Explicitly allow the phrase "no longer" in boolean debconf
questions. (Closes: #447718)
Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf 2007-11-29 20:24:26 UTC (rev 996)
+++ trunk/checks/debconf 2007-11-29 20:35:44 UTC (rev 997)
@@ -314,7 +314,7 @@
if ($template->{description} =~ /(\A|\s)(I|[Mm]y|[Ww]e|[Oo]ur|[Oo]urs|mine|myself|ourself|me|us)(\Z|\s)/) {
tag "using-first-person-in-templates", $template->{template};
}
- if ($template->{description} =~ /[ \'\"](yes|no)[ \'\",;.]/i and $type eq 'boolean') {
+ if ($template->{description} =~ /[ \'\"](yes|no(?! longer))[ \'\",;.]/i and $type eq 'boolean') {
tag "making-assumptions-about-interfaces-in-templates", $template->{template};
}
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-11-29 20:24:26 UTC (rev 996)
+++ trunk/debian/changelog 2007-11-29 20:35:44 UTC (rev 997)
@@ -13,6 +13,9 @@
+ [RA] Add symbols as a known control file for debs and udebs.
* checks/deb-format:
+ [HE] Remove, not needed any more. (Closes: #447257)
+ * checks/deconf:
+ + [HE] Explicitly allow the phrase "no longer" in boolean debconf
+ questions. (Closes: #447718)
* checks/fields:
+ [HE] Add 'doc-package-should-be-section-doc',
'python-package-should-be-section-python',
Modified: trunk/testset/debconf/debian/debconf-test.templates
===================================================================
--- trunk/testset/debconf/debian/debconf-test.templates 2007-11-29 20:24:26 UTC (rev 996)
+++ trunk/testset/debconf/debian/debconf-test.templates 2007-11-29 20:35:44 UTC (rev 997)
@@ -93,3 +93,9 @@
__Choices: yes, no
_Description: Choose:
Pick yes or no.
+
+Template: debconf/should-be-no-longer-a-problem
+Type: boolean
+_Description: Decide, lintian
+ Using "no longer" should no longer be detected as
+ making-assumptions-about-interfaces-in-templates by lintian.
Reply to: