lintian: r1071 - in trunk: checks debian lib testset testset/binary/debian
Author: rra
Date: 2007-12-08 21:18:31 +0100 (Sat, 08 Dec 2007)
New Revision: 1071
Modified:
trunk/checks/menus
trunk/debian/changelog
trunk/lib/Spelling.pm
trunk/testset/binary/debian/doc-base
trunk/testset/tags.binary
Log:
The "Russ's brown paper bag bug" release.
* checks/doc-base:
+ [RA] My mistaken precedence fiddling with the doc-base checks caused
them to warn about every abstract containing a period. Patch from
Chris Lamb. (Closes: #454941)
* lib/Spelling.pm:
+ [RA] Add common mistakes for publicly and spelling.
Modified: trunk/checks/menus
===================================================================
--- trunk/checks/menus 2007-12-08 06:26:10 UTC (rev 1070)
+++ trunk/checks/menus 2007-12-08 20:18:31 UTC (rev 1071)
@@ -405,7 +405,7 @@
if (/manage\s+online\s+manuals\s.*Debian/o) {
tag "doc-base-abstract-field-is-template", "$dbfile:$line"
unless $pkg eq "doc-base";
- } elsif (/^(\s+)\.(\s*)$/o and $1 ne " " or $2) {
+ } elsif (/^(\s+)\.(\s*)$/o and ($1 ne " " or $2)) {
tag "doc-base-abstract-field-separator-extra-whitespaces",
"$dbfile:" . ($line - $#{@$vals} + $idx);
} elsif (!$leadsp && /^(\s+)(\S)/o) {
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-12-08 06:26:10 UTC (rev 1070)
+++ trunk/debian/changelog 2007-12-08 20:18:31 UTC (rev 1071)
@@ -1,3 +1,17 @@
+lintian (1.23.40) unstable; urgency=low
+
+ The "Russ's brown paper bag bug" release.
+
+ * checks/doc-base:
+ + [RA] My mistaken precedence fiddling with the doc-base checks caused
+ them to warn about every abstract containing a period. Patch from
+ Chris Lamb. (Closes: #454941)
+
+ * lib/Spelling.pm:
+ + [RA] Add common mistakes for publicly and spelling.
+
+ -- Russ Allbery <rra@debian.org> Sat, 08 Dec 2007 12:15:33 -0800
+
lintian (1.23.39) unstable; urgency=low
The "Ubuntu and doc-base patch merge, with extra fixes" release.
Modified: trunk/lib/Spelling.pm
===================================================================
--- trunk/lib/Spelling.pm 2007-12-08 06:26:10 UTC (rev 1070)
+++ trunk/lib/Spelling.pm 2007-12-08 20:18:31 UTC (rev 1071)
@@ -247,6 +247,7 @@
pronouce pronounce
protcol protocol
protocoll protocol
+ publically publicly
recieve receive
recieved received
redircet redirect
@@ -269,6 +270,7 @@
similiar similar
simliar similar
speach speech
+ speling spelling
splitted split
standart standard
staically statically
Modified: trunk/testset/binary/debian/doc-base
===================================================================
--- trunk/testset/binary/debian/doc-base 2007-12-08 06:26:10 UTC (rev 1070)
+++ trunk/testset/binary/debian/doc-base 2007-12-08 20:18:31 UTC (rev 1071)
@@ -4,6 +4,10 @@
Abstract: This control file exercises various tests of doc-base control
files, including several things that aren't tested yet. The third and
fourth one has trailing whitespace.
+ .
+ This section has a speling error.
+ .
+ The above separator was fine.
Section: Non/Existant
Unknown: Some field
Modified: trunk/testset/tags.binary
===================================================================
--- trunk/testset/tags.binary 2007-12-08 06:26:10 UTC (rev 1070)
+++ trunk/testset/tags.binary 2007-12-08 20:18:31 UTC (rev 1071)
@@ -5,21 +5,21 @@
E: binary: depends-on-x-metapackage depends: xorg
E: binary: desktop-entry-missing-required-key /usr/share/applications/goodbye.desktop Name
E: binary: doc-base-document-field-ends-in-whitespace binary:1
-E: binary: doc-base-file-duplicated-format binary:32 html
-E: binary: doc-base-file-lacks-required-field binary:18 files
+E: binary: doc-base-file-duplicated-format binary:36 html
E: binary: doc-base-file-lacks-required-field binary:22 files
-E: binary: doc-base-file-lacks-required-field binary:22 format
-E: binary: doc-base-file-no-format binary:22
+E: binary: doc-base-file-lacks-required-field binary:26 files
+E: binary: doc-base-file-lacks-required-field binary:26 format
+E: binary: doc-base-file-no-format binary:26
E: binary: doc-base-file-no-format-section space :0
-E: binary: doc-base-file-no-index binary:31
-E: binary: doc-base-file-references-missing-file binary:13 /usr/share/doc/binary/binary.sgml.gz
-E: binary: doc-base-file-references-missing-file binary:17 /usr/share/doc/binary/binary.txt
-E: binary: doc-base-file-references-missing-file binary:21 /usr/share/doc/binary/html/ch4.html
-E: binary: doc-base-file-references-missing-file binary:27 /usr/share/doc/binary/hml/*.html
-E: binary: doc-base-file-references-missing-file binary:30 /usr/share/info/binary.info.gz
-E: binary: doc-base-file-unknown-field binary:14 unknown
-E: binary: doc-base-file-unknown-field binary:8 unknown
-E: binary: doc-base-index-references-multiple-files binary:21
+E: binary: doc-base-file-no-index binary:35
+E: binary: doc-base-file-references-missing-file binary:17 /usr/share/doc/binary/binary.sgml.gz
+E: binary: doc-base-file-references-missing-file binary:21 /usr/share/doc/binary/binary.txt
+E: binary: doc-base-file-references-missing-file binary:25 /usr/share/doc/binary/html/ch4.html
+E: binary: doc-base-file-references-missing-file binary:31 /usr/share/doc/binary/hml/*.html
+E: binary: doc-base-file-references-missing-file binary:34 /usr/share/info/binary.info.gz
+E: binary: doc-base-file-unknown-field binary:12 unknown
+E: binary: doc-base-file-unknown-field binary:18 unknown
+E: binary: doc-base-index-references-multiple-files binary:25
E: binary: doc-base-invalid-document-field binary:1 binary!docs
E: binary: executable-desktop-file /usr/share/applications/goodbye.desktop 0755
E: binary: file-directly-in-usr-share usr/share/baz
@@ -34,6 +34,7 @@
E: binary: postinst-does-not-call-updatemenus usr/share/menu/binary
E: binary: postrm-does-not-call-updatemenus usr/share/menu/binary
E: binary: prerm-does-not-call-installdocs usr/share/doc-base/space
+E: binary: spelling-error-in-doc-base-abstract-field binary:10 speling spelling
E: binary: statically-linked-binary ./usr/bin/static-hello
E: binary: su-wrapper-without--c /usr/lib/menu/binary:2 su-to-root
E: binary: su-wrapper-without--c /usr/lib/menu/binary:3 sux
@@ -70,9 +71,8 @@
W: binary: desktop-entry-contains-unknown-key /usr/share/applications/goodbye.desktop:7 icon
W: binary: desktop-entry-invalid-category WeirdStuff /usr/share/applications/goodbye.desktop
W: binary: desktop-entry-uses-reserved-category Screensaver /usr/share/applications/goodbye.desktop
-W: binary: doc-base-abstract-field-separator-extra-whitespaces binary:5
-W: binary: doc-base-abstract-field-separator-extra-whitespaces binary:6
-W: binary: doc-base-file-unknown-format binary:16 esp
+W: binary: doc-base-abstract-field-separator-extra-whitespaces binary:7
+W: binary: doc-base-file-unknown-format binary:20 esp
W: binary: executable-not-elf-or-script ./usr/bin/iminusrbin
W: binary: executable-not-elf-or-script ./usr/share/applications/goodbye.desktop
W: binary: file-in-unusual-dir usr/bar
@@ -103,6 +103,7 @@
W: binary: old-fsf-address-in-copyright-file
W: binary: package-contains-hardlink usr/bar2 -> usr/share/baz
W: binary: package-contains-upstream-install-documentation usr/share/doc/binary/INSTALL
+W: binary: spelling-error-in-news-debian speling spelling
W: binary: spelling-error-in-news-debian usefull useful
W: binary: su-to-root-with-usr-sbin /usr/lib/menu/binary:4
W: binary: su-to-root-with-usr-sbin /usr/share/menu/binary:4
Reply to: