[SCM] Debian package checker branch, master, updated. 2.2.5-21-gedfb7d7
The following commit has been merged in the master branch:
commit edfb7d754a997c003a8e0af634eebcbda1f59f00
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date: Sat Feb 14 22:46:59 2009 +0000
Flag the use of multiple distributions in .changes files
+ [ADB] Add a new check for .changes files which contain multiple
entries in their Distribution: field. The check is currently
disabled as the syntax is currently accepted by dak although it is
likely to stop being so in the near future.
diff --git a/checks/lintian.desc b/checks/lintian.desc
index 1ba60bc..6356510 100644
--- a/checks/lintian.desc
+++ b/checks/lintian.desc
@@ -42,6 +42,15 @@ Info: You've specified an unknown target distribution for your upload in
Your version string suggests this package is for Ubuntu, so your
distribution should be one of jaunty, intrepid, hardy, gutsy or dapper.
+Tag: multiple-distributions-in-changes-file
+Severity: important
+Certainty: certain
+Info: You've specified more than one target distribution for your upload
+ in the <tt>debian/changelog</tt> file.
+ .
+ Although this syntax is valid, it is not accepted by the Debian archive
+ management software.
+
Tag: no-urgency-in-changes-file
Severity: normal
Certainty: certain
diff --git a/debian/changelog b/debian/changelog
index d1141eb..59d5282 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ lintian (2.2.6) UNRELEASED; urgency=low
* Summary of tag changes:
+ Added
- icon-size-and-directory-name-mismatch
+ - multiple-distributions-in-changes-file (disabled)
* checks/common_data.pm:
+ [RA] Virtual packages now come from data.
@@ -40,6 +41,10 @@ lintian (2.2.6) UNRELEASED; urgency=low
+ [ADB] Anchor the regular expressions for the backports, security and
proposed-updates distribution checks, so that etch-backports is
accepted as a valid distribution but etch-backportss is not.
+ + [ADB] Add a new check for .changes files which contain multiple
+ entries in their Distribution: field. The check is currently
+ disabled as the syntax is currently accepted by dak although it is
+ likely to stop being so in the near future.
* private/refresh-virtual-packages-data:
+ [RA] New script to generate the list of virtual packages. Based on
diff --git a/frontend/lintian b/frontend/lintian
index c0830a0..5ce568b 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -831,6 +831,12 @@ while (my $arg = shift) {
$distribution);
}
}
+
+ if ($#distributions > 0) {
+ # Currently disabled until dak stops accepting the syntax
+ # tag("multiple-distributions-in-changes-file",
+ # $data->{'distribution'});
+ }
}
# Urgency is only recommended by Policy.
--
Debian package checker
Reply to: