[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Add links from each maintainer page (which does not include pedantic tags, etc.) to the corresponding package on the full report, Thanks to Paul Wise for the idea and report. (Closes: #884572)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit d13dce930f450c9615e9c48f0b6e31b04b81c0d1
Author: Chris Lamb <lamby@debian.org>
Date:   Sun Dec 17 10:01:59 2017 +0000

    Add links from each maintainer page (which does not include pedantic tags, etc.) to the corresponding package on the full report, Thanks to Paul Wise for the idea and report. (Closes: #884572)
---
 debian/changelog                    | 5 +++++
 reporting/templates/maintainer.tmpl | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f306a58..075051b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -60,6 +60,11 @@ lintian (2.5.63) UNRELEASED; urgency=medium
   * profiles/pureos/main.profile:
     + [CL] Add a profile for Purism's PureOS.  (Closes: #884408)
 
+  * reporting/templates/maintainer.tmpl:
+    + [CL] Add links from each maintainer page (which does not include
+      pedantic tags, etc.) to the corresponding package on the full report,
+      Thanks to Paul Wise for the idea and report.  (Closes: #884572)
+
   * vendors/pureos/main/data/changes-file/known-dists:
     + [CL] Add data file for PureOS.
 
diff --git a/reporting/templates/maintainer.tmpl b/reporting/templates/maintainer.tmpl
index 14dc585..155f809 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -103,6 +103,7 @@
                 $firstcomponent = $pkg_info->{component} unless $firstcomponent;
                 if ($first) {
                     my $state = $pkg_info->{'state_data'};
+                    my $anchor = $pkg_info->{'anchor'};
                     my $status = 'up-to-date';
                     my $last_processed_by = $state->{'last-processed-by'} // 'N/A';
                     $status = '<i>outdated</i>' if (exists($state->{'out-of-date'}));
@@ -120,6 +121,7 @@
                     $OUT .= qq(    <a href="https://packages.debian.org/src:$source";>Info</a>\n);
                     $OUT .= qq(    <a href="https://tracker.debian.org/$source";>Package Tracker</a>\n);
                     $OUT .= qq(    <a href="https://bugs.debian.org/src:$source";>Bugs</a>\n);
+                    $OUT .= qq(    <a href="${path_prefix}full/$id#$anchor">Full report</a>\n);
                     $OUT .= qq[  (${status}, last processed by Lintian/$last_processed_by)];
                     $OUT .= qq(   </p>\n  </div>\n);
                     $OUT .= qq(  <ul class="report">\n) unless $is_binary;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: