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

[lintian] 01/01: checks/fields.pm: Include the offending uri in the output of the vcs-deprecated-in-debian-infrastructure tag.



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

lamby pushed a commit to branch master
in repository lintian.

commit 16c6c108333283bd108dcea8b1b5562c2069b230
Author: Chris Lamb <lamby@debian.org>
Date:   Sat Jan 13 15:55:27 2018 +0530

    checks/fields.pm: Include the offending uri in the output of the vcs-deprecated-in-debian-infrastructure tag.
---
 checks/fields.pm                                            | 2 +-
 debian/changelog                                            | 4 +++-
 t/tests/fields-vcs-deprecated-in-debian-infrastructure/tags | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/checks/fields.pm b/checks/fields.pm
index fa0d697..976f6fb 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1341,7 +1341,7 @@ sub run {
             }
             $seen_vcs{$vcs}++;
             if ($uri =~ m/\.debian\.org/) {
-                tag 'vcs-deprecated-in-debian-infrastructure', "vcs-$vcs",
+                tag 'vcs-deprecated-in-debian-infrastructure', "vcs-$vcs", $uri
                   if $vcs ne 'git';
             } else {
                 tag 'orphaned-package-not-maintained-in-debian-infrastructure',
diff --git a/debian/changelog b/debian/changelog
index b6bc59f..6076429 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,11 +5,13 @@ lintian (2.5.69) UNRELEASED; urgency=medium
   * checks/cruft.pm:
     + [CL] Ignore TeX \section (etc.) titles when checking for GFDL
       license. Thanks, Norbert Preining for the report.  (Closes: #863384)
-  * checks/fields.desc:
+  * checks/fields.{pm,desc}:
     + [CL] Downgrade severity of wrong-section-according-to-package-name
       from "W:" to "I:".  (Closes: #883772)
     + [CL] Thanks to Niels Thykier, update the description of the
       orphaned-package-not-maintained-in-debian-infrastructure tag.
+    + [CL] Include the offending uri in the output of the
+      vcs-deprecated-in-debian-infrastructure tag.
   * checks/python.{pm,desc}:
     + [CL] Don't emit new-package-should-not-package-python2-module if
       the maintainer justifies its inclusion in the changelog entry.
diff --git a/t/tests/fields-vcs-deprecated-in-debian-infrastructure/tags b/t/tests/fields-vcs-deprecated-in-debian-infrastructure/tags
index d985ca5..d98d960 100644
--- a/t/tests/fields-vcs-deprecated-in-debian-infrastructure/tags
+++ b/t/tests/fields-vcs-deprecated-in-debian-infrastructure/tags
@@ -1,2 +1,2 @@
 I: fields-vcs-deprecated-in-debian-infrastructure source: vcs-field-uses-insecure-uri vcs-svn svn://anonscm.debian.org/foobar/trunk
-P: fields-vcs-deprecated-in-debian-infrastructure source: vcs-deprecated-in-debian-infrastructure vcs-svn
+P: fields-vcs-deprecated-in-debian-infrastructure source: vcs-deprecated-in-debian-infrastructure vcs-svn svn://anonscm.debian.org/foobar/trunk

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


Reply to: