[SCM] Debian package checker branch, master, updated. 2.5.4-46-gddad0c6
The following commit has been merged in the master branch:
commit ddad0c63e5a2921d1590a58cf4009215020bd8d2
Author: Evan Broder <evan@ebroder.net>
Date: Tue Dec 13 15:49:10 2011 +0100
Use profile information about tags in HTML reports
Modifications to original patch:
* Obtain the list of tags as before.
- This ensures all tags are present on lintian.d.o.
* Drop some changes to %tag_extra that are no longer required.
Acked-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index 2e03048..4424b6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -109,6 +109,8 @@ lintian (2.5.5) UNRELEASED; urgency=low
+ [NT] Removed useless "TODO" message from the log output.
* reporting/html_reports:
+ [JW] Properly handle uploader names with commas.
+ + [NT] Use the severities from profiles when generating tag pages.
+ Based on patches from Evan Broder. (Closes: #650712)
-- Niels Thykier <niels@thykier.net> Tue, 29 Nov 2011 18:42:37 +0100
diff --git a/reporting/html_reports b/reporting/html_reports
index d4db080..aa606c3 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -76,6 +76,14 @@ for my $check (readdir CHECKDIR) {
closedir(CHECKDIR);
+my $profile = Lintian::Profile->new (find_default_profile ("$LINTIAN_ROOT/profiles"),
+ ["$LINTIAN_ROOT/profiles"]);
+
+while ( my ($tagname, $severity) = each (%{$profile->severity_changes}) ) {
+ my $tag = $tag_data{$tagname};
+ $tag->set_severity ($severity);
+}
+
# Set the Lintian version, current timestamp, and archive timestamp.
our $LINTIAN_VERSION = `$LINTIAN_ROOT/frontend/lintian --print-version`;
our $timestamp = `date -u --rfc-822`;
--
Debian package checker
Reply to: