1 { head("Lintian Tag: $tag", 1) }
2 <h1><span class="type-{$code}">{$code}</span> {$tag}</h1>
5 All reports of {$tag} for the archive. The extended description of this
9 <blockquote class="type-{$code}">
14 The package names link to the relevant maintainer page and the
15 corresponding report for the source package. The links go to the full
16 maintainer report page, which includes info and experimental tags and
17 overridden tags, rather than the default page that shows only errors
21 # We get a list of tag data. We create a separate paragraph for each
23 my ($last, $tag, $has_nonoverridden);
24 for my $info (sort { $a->{package} cmp $b->{package} } @tags) {
26 or "$info->{package} $info->{type}" ne "$last->{package} $last->{type}") {
28 my $overridden = $has_nonoverridden ? '' : qq{ <span class="type-O">overridden</span>};
29 $OUT .= qq( <h2 class="tag"><a href="../full/$last->{xref}">);
30 $OUT .= "$last->{package}</a> ($last->{type})$overridden</h2>\n";
31 $OUT .= qq( <ul class="tag">\n);
37 $has_nonoverridden = 0;
39 $has_nonoverridden = 1 if $info->{code} ne 'O';
41 $tag .= qq{ <li class="type-$info->{code}">};
42 $tag .= qq{<span class="type-O">O</span> } if $info->{code} eq 'O';
43 $tag .= "$info->{extra}</li>\n";
46 my $overridden = $has_nonoverridden ? '' : qq{ <span class="type-O">overridden</span>};
47 $OUT .= qq( <h2 class="tag"><a href="../full/$last->{xref}">);
48 $OUT .= "$last->{package}</a> ($last->{type})$overridden</h2>\n";
49 $OUT .= qq( <ul class="tag">\n);