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

[SCM] Debian package checker branch, master, updated. 2.2.13-50-gbd5784d



The following commit has been merged in the master branch:
commit 1a35d46d099d0cf94d16319a1e4dbdca9cabed23
Author: Russ Allbery <rra@debian.org>
Date:   Sat Aug 15 18:18:55 2009 -0700

    Enable multiple-distributions-in-changes-file
    
    * checks/lintian.desc:
      + [RA] Expand multiple-distributions-in-changes-file description and
        add a reference to the Policy section.  Change certainty to
        possible, since this may be fine for non-Debian uploads.
    * frontend/lintian:
      + [RA] Enable multiple-distributions-in-changes-file now that Policy
        documents that this does not work with the Debian archive.

diff --git a/checks/lintian.desc b/checks/lintian.desc
index 57f1af6..8dd60a2 100644
--- a/checks/lintian.desc
+++ b/checks/lintian.desc
@@ -45,12 +45,15 @@ Info: You've specified an unknown target distribution for your upload in
 
 Tag: multiple-distributions-in-changes-file
 Severity: important
-Certainty: certain
+Certainty: possible
 Info: You've specified more than one target distribution for your upload
- in the <tt>debian/changelog</tt> file.
+ in the <tt>*.changes</tt> file, probably via the most recent entry in the
+ <tt>debian/changelog</tt> file.
  .
  Although this syntax is valid, it is not accepted by the Debian archive
- management software.
+ management software.  This may not be a problem if this upload is
+ targeted at an archive other than Debian's.
+Ref: policy 5.6.14
 
 Tag: no-urgency-in-changes-file
 Severity: normal
diff --git a/debian/changelog b/debian/changelog
index 25d9ed3..1d9fca9 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ lintian (2.2.14) UNRELEASED; urgency=low
   * Summary of tag changes:
     + Added:
       - debhelper-overrides-need-versioned-build-depends
+      - multiple-distributions-in-changes-file
       - patch-system-but-no-source-readme
       - possible-documentation-but-no-doc-base-registration
 
@@ -31,6 +32,10 @@ lintian (2.2.14) UNRELEASED; urgency=low
       don't emit errors about their use in udebs.
   * checks/infofiles.desc:
     + [RA] Add missing leading * to example info directory entry.
+  * checks/lintian.desc:
+    + [RA] Expand multiple-distributions-in-changes-file description and
+      add a reference to the Policy section.  Change certainty to
+      possible, since this may be fine for non-Debian uploads.
   * checks/menus{,.desc}:
     + [RA] Add info-level tag for packages with apparent HTML or PDF
       documentation in /usr/share/doc but no doc-base registration.  Based
@@ -69,6 +74,9 @@ lintian (2.2.14) UNRELEASED; urgency=low
   * data/files/fonts:
     + [ADB] Refresh against unstable.
 
+  * frontend/lintian:
+    + [RA] Enable multiple-distributions-in-changes-file now that Policy
+      documents that this does not work with the Debian archive.
   * frontend/lintian-info:
     + [ADB] Correctly parse Lintian output for pedantic tags.  Thanks, James
       Vega.
diff --git a/frontend/lintian b/frontend/lintian
index ac4229c..154d4ca 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -850,9 +850,8 @@ while (my $arg = shift) {
 		}
 
 		if ($#distributions > 0) {
-		    # Currently disabled until dak stops accepting the syntax
-		    # tag("multiple-distributions-in-changes-file",
-		    #    $data->{'distribution'});
+		    tag("multiple-distributions-in-changes-file",
+			$data->{'distribution'});
 		}
 	    }
 

-- 
Debian package checker


Reply to: