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

lintian: r266 - in trunk: checks debian testset



Author: he
Date: 2004-05-10 17:46:06 +0200 (Mon, 10 May 2004)
New Revision: 266

Modified:
   trunk/checks/changelog-file
   trunk/checks/changelog-file.desc
   trunk/checks/po-debconf
   trunk/checks/po-debconf.desc
   trunk/debian/changelog
   trunk/testset/tags.foo++
Log:
Drop the misuse of charset when we want to say "encoding".
Renamed 2 tests for that:
 unknown-charset-in-po-file -> unknown-encoding-in-po-file
 debian-changelog-file-uses-obsolete-national-charset ->
   debian-changelog-file-uses-obsolete-national-encoding
(Closes: #248194)



Modified: trunk/checks/changelog-file
===================================================================
--- trunk/checks/changelog-file	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/checks/changelog-file	2004-05-10 15:46:06 UTC (rev 266)
@@ -211,7 +211,7 @@
 my $line = 1;
 while (<ICONV>) {
     if (m/iconv: illegal input sequence at position \d+$/) {
-	tag "debian-changelog-file-uses-obsolete-national-charset", "at line $line";
+	tag "debian-changelog-file-uses-obsolete-national-encoding", "at line $line";
 	last;
     }
     $line++;

Modified: trunk/checks/changelog-file.desc
===================================================================
--- trunk/checks/changelog-file.desc	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/checks/changelog-file.desc	2004-05-10 15:46:06 UTC (rev 266)
@@ -95,12 +95,12 @@
 Info: The changelog file contains an email address (&lt;..@unknown&gt;)
  that was not updated to the maintainer's real address.
 
-Tag: debian-changelog-file-uses-obsolete-national-charset
+Tag: debian-changelog-file-uses-obsolete-national-encoding
 Type: error
 Info: The Debian changelog file must be valid UTF-8, an encoding of
  the Unicode character set.
  .
- There are many ways to convert a changelog from an obsoleted charset
+ There are many ways to convert a changelog from an obsoleted encoding
  like ISO-8859-1; you may for example use "iconv" like:
  .
   $ iconv -f ISO-8859-1 -t UTF-8 changelog > changelog.new

Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/checks/po-debconf	2004-05-10 15:46:06 UTC (rev 266)
@@ -96,7 +96,7 @@
         if (m/charset=(.*?)\\n/) {
                 $charset = ($1 eq 'CHARSET' ? '' : $1);
         }
-        tag "unknown-charset-in-po-file", "debian/po/$file"
+        tag "unknown-encoding-in-po-file", "debian/po/$file"
                 unless length($charset);
 	if (-x "/usr/bin/msgfmt" ) {
 	    system("msgfmt -o /dev/null debfiles/po/$file 2>/dev/null") == 0

Modified: trunk/checks/po-debconf.desc
===================================================================
--- trunk/checks/po-debconf.desc	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/checks/po-debconf.desc	2004-05-10 15:46:06 UTC (rev 266)
@@ -28,7 +28,7 @@
 Info: The required file templates.pot is missing from debian/po
  See po-debconf(7).
 
-Tag: unknown-charset-in-po-file
+Tag: unknown-encoding-in-po-file
 Type: warning
 Info: Encoding must be declared in PO files, otherwise charset conversions
  cannot be performed.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/debian/changelog	2004-05-10 15:46:06 UTC (rev 266)
@@ -4,6 +4,12 @@
 
   * checks/*:
     + [JvW] Changed from executables to check-plugins
+    + [HE] Drop the misuse of charset when we want to say "encoding".
+      Renamed 2 tests for that:
+       unknown-charset-in-po-file -> unknown-encoding-in-po-file
+       debian-changelog-file-uses-obsolete-national-charset ->
+         debian-changelog-file-uses-obsolete-national-encoding
+      (Closes: #248194)
   * checks/cruft{,.desc}:
     + [JvW] cvsignore-file-in-source is now info, because it happens so often
       by upstream, and is only very minor in size

Modified: trunk/testset/tags.foo++
===================================================================
--- trunk/testset/tags.foo++	2004-05-09 00:49:27 UTC (rev 265)
+++ trunk/testset/tags.foo++	2004-05-10 15:46:06 UTC (rev 266)
@@ -9,7 +9,7 @@
 E: foo++-helper: usr-doc-symlink-without-dependency foo++
 E: foo++-helper: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
 E: foo++: debian-changelog-file-contains-debmake-default-email-address
-E: foo++: debian-changelog-file-uses-obsolete-national-charset at line 11
+E: foo++: debian-changelog-file-uses-obsolete-national-encoding at line 11
 E: foo++: no-copyright-file
 E: foo++: wrong-debian-qa-address-set-as-maintainer Lintian Maintainer <debian-qa@lists.debian.org>
 W: foo++ source: ancient-standards-version 3.1.1



Reply to: