[SCM] Debian package checker branch, master, updated. 2.2.18-91-g72baf59
The following commit has been merged in the master branch:
commit 72baf593e0bb68af7afc2942ba1fd616f43bfb21
Author: Russ Allbery <rra@debian.org>
Date: Sat Dec 26 11:46:57 2009 -0800
Use the correct tag code for the per-tag pages
* reporting/html_reports:
+ [RA] Never use O as the code for the tag on the per-tag page even if
all instances in the archive are overridden. (Closes: #562630)
diff --git a/debian/changelog b/debian/changelog
index 63c0caa..126c60b 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -213,6 +213,10 @@ lintian (2.3.0) UNRELEASED; urgency=low
* private/refresh-ftp-master-tags:
+ [RA] Script to refresh data about automatic package rejects.
+ * reporting/html_reports:
+ + [RA] Never use O as the code for the tag on the per-tag page even if
+ all instances in the archive are overridden. (Closes: #562630)
+
* t/runtests:
+ [RA] Unwrap the Options field so that it can be continued.
+ [RA] Replace TESTSET in Options with the root of the test suite so
diff --git a/reporting/html_reports b/reporting/html_reports
index 01f887d..103e764 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -459,10 +459,8 @@ for my $tag (sort keys %by_tag) {
}
my ($count, $overrides) = (0, 0);
my %seen;
- my $code = 'O';
foreach (@{$by_tag{$tag}}) {
if ($_->{code} ne 'O') {
- $code = $_->{code};
$count++;
$seen{$_->{xref}}++;
} else {
@@ -473,7 +471,7 @@ for my $tag (sort keys %by_tag) {
my %data = (
description => $description,
tag => html_quote ($tag),
- code => $code,
+ code => $info->code,
tags => $by_tag{$tag},
);
output_template ("tags/$tag.html", $templates{tag}, \%data);
--
Debian package checker
Reply to: