[SCM] Debian package checker branch, master, updated. 2.2.5-57-g6bf7673
The following commit has been merged in the master branch:
commit f31eff4b9115bd75828518c38be973ed4d002199
Author: Russ Allbery <rra@debian.org>
Date: Sat Feb 21 20:09:41 2009 -0800
Suppress short description warnings for transitional packages
* checks/description:
+ [RA] Don't warn about too-short long descriptions for transitional
or dummy packages. Thanks, Andreas Beckmann. (Closes: #515538)
diff --git a/checks/description b/checks/description
index fc06e03..c390251 100644
--- a/checks/description
+++ b/checks/description
@@ -80,6 +80,7 @@ if ($synopsis =~ m/^\s*$/) {
}
my $flagged_homepage;
+my $is_dummy;
foreach (split /\n/, $description) {
next if m/^\s*$/o;
next if m/^\.\s*$/o;
@@ -158,7 +159,7 @@ foreach (split /\n/, $description) {
if ($type ne 'udeb') {
if ($lines == 0) {
tag "extended-description-is-empty";
- } elsif ($lines <= 2) {
+ } elsif ($lines <= 2 and not $synopsis =~ /(dummy|transition)/i) {
tag "extended-description-is-probably-too-short";
}
}
diff --git a/debian/changelog b/debian/changelog
index 6e0fb12..436e040 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,8 @@ lintian (2.2.6) UNRELEASED; urgency=low
syntax "Homepage: <http://example.com>" using the warning level
tag description-contains-homepage rather than the info level tag
description-possibly-contains-homepage. (Closes: #515998)
+ + [RA] Don't warn about too-short long descriptions for transitional
+ or dummy packages. Thanks, Andreas Beckmann. (Closes: #515538)
* checks/fields{,.desc}:
+ [RA] Load virtual packages from data/fields/virtual-packages.
+ [RA] Warn of unsupported source package versions.
--
Debian package checker
Reply to: