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

lintian: r866 - in trunk: checks debian testset



Author: rra
Date: 2007-04-28 06:20:03 +0200 (Sat, 28 Apr 2007)
New Revision: 866

Modified:
   trunk/checks/debconf
   trunk/checks/debconf.desc
   trunk/debian/changelog
   trunk/testset/tags.debconf
Log:
* checks/debconf{.desc,}:
  + [RA] Remove the dependency check for SETTITLE since all debconf
    implementations back to oldstable support it.
  + [RA] Reduce the dependency check for error templates to info since
    all debconf implementations back to stable support it.

Modified: trunk/checks/debconf
===================================================================
--- trunk/checks/debconf	2007-04-28 03:03:09 UTC (rev 865)
+++ trunk/checks/debconf	2007-04-28 04:20:03 UTC (rev 866)
@@ -347,7 +347,6 @@
 	my $db_input='';
 	my $isdefault='';
 	my $usesseen='';
-	my $usessettitle='';
 
 	# Only check scripts.
 	my $fl = <IN>;
@@ -400,13 +399,6 @@
 	        tag "isdefault-flag-is-deprecated", "$file";
 	        $isdefault=1;
 	    }
-	    if (not $usessettitle and m/db_settitle\s+/) {
-		unless (Dep::implies($alldependencies, Dep::parse('debconf (>= 1.3.22) | cdebconf (>= 0.43)'))) {
-	           tag "settitle-requires-versioned-depends", "$file"
-		       unless $type eq 'udeb';
-	       }
-	        $usessettitle = 1;
-	    }
 	}
 
 	unless ($usesconfmodule) {

Modified: trunk/checks/debconf.desc
===================================================================
--- trunk/checks/debconf.desc	2007-04-28 03:03:09 UTC (rev 865)
+++ trunk/checks/debconf.desc	2007-04-28 04:20:03 UTC (rev 866)
@@ -173,18 +173,8 @@
  install an override. Other exceptions to this check include configuration
  scripts called from the package's post-installation script.
 
-Tag: settitle-requires-versioned-depends
-Type: error
-Info: Debconf only supports the SETTITLE command as of version 1.3.22. To
- ensure upgrades work correctly, packages that use this new command should
- declare a dependency on that version of debconf.
- .
- Since SETTITLE was added after debconf-2.0, one cannot use the normal
- debconf-2.0 alternative to allow for cdebconf or other implementations.
- Instead, use <tt>debconf (>= 1.3.22) | cdebconf (>= 0.43)</tt>.
-
 Tag: debconf-error-requires-versioned-depends
-Type: error
+Type: info
 Info: Debconf only supports the error template type as of version 1.4.69.
  Packages that use this template type should declare a dependency on that
  version of debconf.
@@ -192,6 +182,10 @@
  Since error types were added after debconf-2.0, one cannot use the normal
  debconf-2.0 alternative to allow for cdebconf or other implementations.
  Instead, use <tt>debconf (>= 1.4.69) | cdebconf (>= 0.39)</tt>.
+ .
+ All versions of debconf back to etch (4.0) support error templates, but
+ the debconf released with sarge (3.1) didn't, so this dependency is still
+ helpful for oldstable backports.
 
 Tag: malformed-prompt-in-templates
 Type: warning

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-04-28 03:03:09 UTC (rev 865)
+++ trunk/debian/changelog	2007-04-28 04:20:03 UTC (rev 866)
@@ -10,6 +10,11 @@
     + [RA] Replace yet another hand-rolled dependency parser with Dep.
   * checks/cruft{.desc,}:
     + [RA] Check for svk commit message files.
+  * checks/debconf{.desc,}:
+    + [RA] Remove the dependency check for SETTITLE since all debconf
+      implementations back to oldstable support it.
+    + [RA] Reduce the dependency check for error templates to info since
+      all debconf implementations back to stable support it.
   * checks/fields:
     + [RA] The CDBS Python rules only call pycentral or pysupport during
       the binary targets, so those dependencies can be safely moved to

Modified: trunk/testset/tags.debconf
===================================================================
--- trunk/testset/tags.debconf	2007-04-28 03:03:09 UTC (rev 865)
+++ trunk/testset/tags.debconf	2007-04-28 04:20:03 UTC (rev 866)
@@ -1,15 +1,14 @@
 E: debconf source: declares-possibly-conflicting-debhelper-compat-versions rules=4 compat=4
 E: debconf source: missing-dh_python-build-dependency python | python-dev | python-all-dev
 E: debconf source: package-needs-python-policy-debhelper
-E: debconf-test: debconf-error-requires-versioned-depends debconf/error
 E: debconf-test: extended-description-is-empty
 E: debconf-test: mismatch-translated-choices debconf/testmulti-escape choices-de.utf-8
 E: debconf-test: no-template-description debconf/no-description
 E: debconf-test: no-template-type debconf/language
-E: debconf-test: settitle-requires-versioned-depends config
 E: debconf-test: unknown-debconf-priority config:10 LOW
 E: debconf-test: unknown-debconf-priority config:11 normal
 E: debconf-udeb udeb: udeb-postinst-must-not-call-ldconfig
+I: debconf-test: debconf-error-requires-versioned-depends debconf/error
 W: debconf source: debian-rules-sets-DH_COMPAT line 3
 W: debconf source: invalid-po-file debian/po/fr.po
 W: debconf source: invalid-po-file debian/po/sample-file.po



Reply to: