{ head("Lintian Report for $name", 1) }

{$name}

At the time of the last Lintian run, the following possible problems were found in packages maintained by {$maintainer}, listed by source package. { if ($errors) { qq( See also the full report, including) . " info, experimental and overridden tags."; } else { qq( See also the report showing) . " only errors and warnings."; } } Also see their QA overview.

{ # Show the summary only if the number of packages is within a certain # range. my $num_packages = keys(%packages) + keys(%uploads); if ($num_packages > 1 and $num_packages < 20) { $OUT .= qq(
\n \n
\n"; } }
{ # We get a hash of package names to a hash of versions to a list of tags. # Create a list with the package information as the title and the tags as # the value. for my $source (sort (keys (%packages), keys (%uploads))) { my ($data, $upload); if ($packages{$source}) { $data = $packages{$source}; } else { $data = $uploads{$source}; $upload = 1; } for my $version (sort keys %$data) { my $tags = $data->{$version}; my $first = 1; my $binary = ''; my $tag = ''; my $firstarea = ''; for my $info (@$tags) { if ($errors) { next unless $info->{code} eq 'E' or $info->{code} eq 'W'; } my $is_binary = ($info->{type} eq "binary" or $info->{type} eq "udeb"); my $new_binary = $info->{package} ne $binary if $is_binary; my $area = ($info->{area} eq 'main') ? '' : "; $info->{area}"; $firstarea = $info->{area} unless $firstarea; if ($first) { $OUT .= qq(
\n); $OUT .= qq(

); $OUT .= "$source ($version$area)"; $OUT .= " [Uploader]" if $upload; $OUT .= "

\n"; $OUT .= qq( \n
\n); $OUT .= qq( \n \n \n" unless $first; $OUT .= qq(

$info->{package}$bin_version

\n); $OUT .= qq( \n \n" unless $first or $new_binary; $OUT .= " \n"; $OUT .= qq( ); $OUT .= "$info->{code} "; $OUT .= qq(); $OUT .= "$info->{tag}\n"; $OUT .= qq( \n \n \n"; } } } { foot() }