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

[lintian] 02/03: Apply patch from Ville Skyttä <ville.skytta@iki.fi> to update the Debconf reference mapping. Many thanks! (Closes: #878449)



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

lamby pushed a commit to branch master
in repository lintian.

commit b2f320dcb742f03ceaf1936fac09784c15e0d94a
Author: Ville Skyttä <ville.skytta@iki.fi>
Date:   Fri Oct 13 22:08:02 2017 +0300

    Apply patch from Ville Skyttä <ville.skytta@iki.fi> to update the Debconf reference mapping. Many thanks! (Closes: #878449)
    
    Signed-off-by: Chris Lamb <lamby@debian.org>
---
 debian/changelog            | 4 ++++
 private/refresh-manual-refs | 5 ++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a65920b..c1500a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ lintian (2.5.56) UNRELEASED; urgency=medium
     + [CL] Apply patch from Ville Skyttä <ville.skytta@iki.fi> to fix a
       number of spelling mistakes.  (Closes: #878446)
 
+  * private/refresh-manual-refs:
+    + [CL] Apply patch from Ville Skyttä <ville.skytta@iki.fi> to update
+      the Debconf reference mapping. Many thanks!  (Closes: #878449)
+
  -- Chris Lamb <lamby@debian.org>  Thu, 12 Oct 2017 14:08:44 -0400
 
 lintian (2.5.55) unstable; urgency=medium
diff --git a/private/refresh-manual-refs b/private/refresh-manual-refs
index 906d310..3960e3e 100755
--- a/private/refresh-manual-refs
+++ b/private/refresh-manual-refs
@@ -62,7 +62,7 @@ my $title_re = qr/<title\s?>(.+?)<\/title\s?>/i;
 my $link_re
   = qr/<link href="(.+?)" rel="[\w]+" title="([A-Z]|[A-Z]?[\d\.]+?)\.?\s+([\w\s[:punct:]]+?)">/;
 my $index_re
-  = qr/<a href="(.+?)">([A-Z]|[A-Z]?[\d\.]+?)\.?\s+([\w\s[:punct:]]+?)<\/a>/;
+  = qr/<a href="(.+?)">\s*([A-Z]|[A-Z]?[\d\.]+?)\.?\s+([\w\s[:punct:]]+?)\s*<\/a>/;
 my $fields = [['url'], ['section'], ['title']];
 my $dbk_index_re
   = qr/([\d.]+?)\.\s+<a\s*href="(.+?)"\s*>([\w\s[:punct:]]+?)<\/a\s*>/i;
@@ -132,8 +132,7 @@ my %manuals = (
         join(q{/},
             'https://www.debian.org',
             'doc/packaging-manuals/debconf_specification.html'),
-        qr/<a href="(#.+?)">([\w\s[:punct:]]+?)<\/a>/,
-        [['section', 'url'], ['title']]
+        $index_re, $fields
     ],
     'fhs' => [
         '/usr/share/doc/debian-policy/fhs/fhs-2.3.html',

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


Reply to: