diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /reporting/templates/packages.tmpl | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'reporting/templates/packages.tmpl')
-rw-r--r-- | reporting/templates/packages.tmpl | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/reporting/templates/packages.tmpl b/reporting/templates/packages.tmpl new file mode 100644 index 0000000..352f6b1 --- /dev/null +++ b/reporting/templates/packages.tmpl @@ -0,0 +1,35 @@ +{ head("Lintian Package Index: $section") } + <h1>Package Index: {$section}</h1> + + <p> + This is a list of all source packages that have at least one + lintian tag. This includes all tags, even experimental and info tags + and tags that were overridden. The list is huge, so it's broken into + four separate pages. This page covers package names starting with + {$section}. + </p> + + <p> + <a href="{$path_prefix}packages_1.html">0-9, A-F</a> + | <a href="{$path_prefix}packages_2.html">G-L</a> + | <a href="{$path_prefix}packages_3.html">M-R</a> + | <a href="{$path_prefix}packages_4.html">S-Z</a> + </p> + +{ + # ' # hi, emacs + # Put headings before each new initial letter. + my $letter = ''; + for my $package (@list) { + my $first = uc substr($package, 0, 1); + if ($first ne $letter) { + $OUT .= " </p>\n\n" if $letter; + $OUT .= qq( <h2>$first</h2>\n\n <p>\n); + $letter = $first; + } + foreach my $version (sort by_version keys %{ $sources{$package} }) { + $OUT .= qq( <a href="${path_prefix}full/$sources{$package}{$version}">$package ($version)</a>\n); + } + } +} </p> +{ foot() } |