lintian: r394 - in trunk: checks testset
Author: djpig
Date: 2004-12-27 05:30:04 +0100 (Mon, 27 Dec 2004)
New Revision: 394
Modified:
trunk/checks/description
trunk/checks/files
trunk/testset/tags.debconf
trunk/testset/tags.relations
Log:
Fix some errors introduces in the last changes
Modified: trunk/checks/description
===================================================================
--- trunk/checks/description 2004-12-26 12:23:26 UTC (rev 393)
+++ trunk/checks/description 2004-12-27 04:30:04 UTC (rev 394)
@@ -60,10 +60,10 @@
tag "description-synopsis-might-not-be-phrased-properly", "";
}
if ($synopsis =~ m/^\s*[A-Z]/) {
- print "W: $pkg $type: description-synopsis-starts-with-a-capital-letter\n";
+ tag "description-synopsis-starts-with-a-capital-letter";
}
if ($synopsis =~ m/^\s*([Tt]he|[Aa]n?)\b/) {
- print "W: $pkg $type: description-synopsis-starts-with-an-article\n";
+ tag "description-synopsis-starts-with-an-article";
}
if ($synopsis =~ m/\t/) {
tag "description-contains-tabs", "" unless $tabs++;
Modified: trunk/checks/files
===================================================================
--- trunk/checks/files 2004-12-26 12:23:26 UTC (rev 393)
+++ trunk/checks/files 2004-12-27 04:30:04 UTC (rev 394)
@@ -317,7 +317,7 @@
#
# Other applications also use .desktop files (yay!), so we need to
# exclude them.
- elsif ($file =~ m,\.desktop$, && $file !~ m,^usr/share/applications/ &&
+ elsif ($file =~ m,\.desktop$, && $file !~ m,^usr/share/applications/, &&
$file !~ m,^usr/share/xsessions/,) {
tag "desktop-file-in-wrong-dir", "$file";
}
Modified: trunk/testset/tags.debconf
===================================================================
--- trunk/testset/tags.debconf 2004-12-26 12:23:26 UTC (rev 393)
+++ trunk/testset/tags.debconf 2004-12-27 04:30:04 UTC (rev 394)
@@ -3,6 +3,8 @@
E: debconf-test: settitle-requires-versioned-depends config
W: debconf source: maintainer-script-lacks-debhelper-token debian/debconf-test.postinst
W: debconf source: newer-debconf-templates
+W: debconf-test: description-synopsis-starts-with-a-capital-letter
W: debconf-test: multiselect-without-dependency
W: debconf-test: partially-translated-question debconf/testmulti de.utf-8
+W: debconf-udeb udeb: description-synopsis-starts-with-a-capital-letter
W: debconf-udeb udeb: missing-debconf-dependency
Modified: trunk/testset/tags.relations
===================================================================
--- trunk/testset/tags.relations 2004-12-26 12:23:26 UTC (rev 393)
+++ trunk/testset/tags.relations 2004-12-27 04:30:04 UTC (rev 394)
@@ -19,15 +19,15 @@
I: relations-multiple-libs: unknown-field-in-control origin
I: relations: unknown-field-in-control bugs
I: relations: unknown-field-in-control origin
-W: relations binary: description-synopsis-starts-with-a-capital-letter
W: relations source: ancient-standards-version 3.1.1
W: relations source: build-depends-without-arch-dep
W: relations source: redundant-origin-field
W: relations source: virtual-package-depends-without-real-package-depends build-depends: mail-transport-agent
-W: relations-multiple-libs binary: description-synopsis-starts-with-a-capital-letter
W: relations-multiple-libs: description-synopsis-might-not-be-phrased-properly
+W: relations-multiple-libs: description-synopsis-starts-with-a-capital-letter
W: relations-multiple-libs: redundant-bugs-field
W: relations-multiple-libs: redundant-origin-field
+W: relations: description-synopsis-starts-with-a-capital-letter
W: relations: package-has-a-duplicate-relation depends: relations, relations (<< 3)
W: relations: package-relation-with-self depends: relations
W: relations: package-relation-with-self depends: relations (<< 3)
Reply to: