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

[lintian] 01/01: reporting/templates/maintainer.tmpl: Make the previously-hidden package anchor links visible so that one can right-click and copy the URL instead of constructing it manually.



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

lamby pushed a commit to branch master
in repository lintian.

commit 4d52decbd1e92ca97ee2730384220f831a038efd
Author: Chris Lamb <lamby@debian.org>
Date:   Tue Jan 2 21:53:40 2018 +0000

    reporting/templates/maintainer.tmpl: Make the previously-hidden package anchor links visible so that one can right-click and copy the URL instead of constructing it manually.
---
 debian/changelog                    | 5 +++++
 reporting/templates/maintainer.tmpl | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c7da648..bebf62a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,11 @@ lintian (2.5.68) UNRELEASED; urgency=medium
     + [CL] Warn about packages that ship (non-reproducible) Python
       Hypothesis examples.  (Closes: #886101)
 
+  * reporting/templates/maintainer.tmpl:
+    + [CL] Make the previously-hidden package anchor links visible so that
+      one can right-click and copy the URL instead of constructing it
+      manually.
+
   * t/tests/files-multiarch-foreign-files:
     + [CL] Ensure that we install to a multiarch directory on all
       architectures to prevent a FTBFS on, for example, i386.
diff --git a/reporting/templates/maintainer.tmpl b/reporting/templates/maintainer.tmpl
index c63cc12..9fdd6c4 100644
--- a/reporting/templates/maintainer.tmpl
+++ b/reporting/templates/maintainer.tmpl
@@ -115,7 +115,7 @@
                     if ($first_version) {
                         # Unversioned #<pkg> references just go to the first version.
                         $first_version = 0;
-                        $OUT .= qq( <a id="${source}"></a>)
+                        $OUT .= qq( <a href="#${source}" id="${source}">&sect;</a>)
                     }
                     $OUT .= "</h2>\n";
                     $OUT .= qq(   <p class="info-links">\n);

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


Reply to: