[SCM] Debian package checker branch, master, updated. 2.3.0-42-gb20f3b5
The following commit has been merged in the master branch:
commit c0c4966ba34cd4aa9b3270b7d655858c0429eb68
Author: Russ Allbery <rra@debian.org>
Date: Wed Dec 30 19:37:41 2009 -0800
Better handle package information defaults in html_reports
* reporting/html_reports:
+ [RA] Better handle missing information for packages in the package
lists and default the package area to main.
diff --git a/debian/changelog b/debian/changelog
index 7b60038..3f446cf 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,6 +66,8 @@ lintian (2.3.1) UNRELEASED; urgency=low
+ [RA] Sort the tags so that the maintainer view will group repeated
instances of the same tag and display extra information in sorted
order. (Closes: #563126)
+ + [RA] Better handle missing information for packages in the package
+ lists and default the package area to main.
* reporting/templates/maintainer.tmpl:
+ [RA] Fix the logic to optionally display the archive area of
additional package entries under the same source package.
diff --git a/reporting/html_reports b/reporting/html_reports
index 6bb8dce..e99d8b2 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -269,8 +269,11 @@ while (<>) {
}
}
$maintainer ||= '(unknown)';
- $version ||= 'unknown';
- $source_version ||= $version;
+ $area ||= 'main';
+ $version = 'unknown'
+ unless (defined ($version) and length ($version) > 0);
+ $source_version = $version
+ unless (defined ($source_version) and length ($source_version) > 0);
# Check if we've seen the URL for this maintainer before and, if so, map
# them to the same person as the previous one.
--
Debian package checker
Reply to: