[SCM] Debian package checker branch, master, updated. 70e954df2121cbc81427413ba3e347076cff1c01
The following commit has been merged in the master branch:
commit 3f2dbb7e2a59d7c304b0ac10b7c7360c755d52c9
Author: Jordà Polo <jorda@ettin.org>
Date: Fri Jun 20 20:37:21 2008 +0200
templates/maintainer.tmpl: Include co-maintained packages in summary
Additionally this now sorts the list.
diff --git a/debian/changelog b/debian/changelog
index 1eccd37..6acf13d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,6 +43,9 @@ lintian (1.24.2) unstable; urgency=low
* reporting/templates/maintainer.tmpl:
+ [FL] Add useful links for each source package.
With layout help by Jordà Polo.
+ + [FL] Include Co-maintained packages in the summary
+ at the top of the page. Also sort the list. Patch
+ by Jordà Polo.
--
diff --git a/reporting/templates/maintainer.tmpl b/reporting/templates/maintainer.tmpl
index af5a459..11b5919 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -22,10 +22,10 @@
{
# Show the summary only if the number of packages is within a certain
# range.
- my $num_packages = length(%packages);
+ my $num_packages = keys(%packages) + keys(%uploads);
if ($num_packages > 1 and $num_packages < 20) {
$OUT .= qq( <div id="summary">\n <ul>\n);
- foreach $source (keys (%packages)) {
+ foreach $source (sort(keys(%packages), keys(%uploads))) {
$OUT .= qq( <li><a href="#$source">$source</a></li>\n);
}
$OUT .= " </ul>\n </div>\n";
--
Debian package checker
Reply to: