[lintian] 01/01: Include the offending "Bugs" field value in the output of the bugs-field-does-not-refer-to-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 964916611bb0dbcfd0833ce9de7242bdf343bfd7
Author: Chris Lamb <lamby@debian.org>
Date: Fri Jan 5 21:40:35 2018 +0000
Include the offending "Bugs" field value in the output of the bugs-field-does-not-refer-to-debian-infrastructure tag.
---
checks/fields.pm | 5 +++--
debian/changelog | 2 ++
.../fields-bugs-field-does-not-refer-to-debian-infrastructure/tags | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/checks/fields.pm b/checks/fields.pm
index 4e9d822..01d120c 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -1236,8 +1236,9 @@ sub run {
tag 'redundant-bugs-field'
if $bugs =~ m,^debbugs://bugs.debian.org/?$,i;
- tag 'bugs-field-does-not-refer-to-debian-infrastructure', "line $."
- if $bugs !~ m,\.debian\.org,;
+ tag 'bugs-field-does-not-refer-to-debian-infrastructure', $bugs,
+ "(line $.)"
+ unless $bugs =~ m,\.debian\.org,;
}
#----- Python-Version
diff --git a/debian/changelog b/debian/changelog
index 1812d00..616a79e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ lintian (2.5.68) UNRELEASED; urgency=medium
+ [CL] Emit pedantic warnings for packages that refer to a non-Git
version control systems hosted in the Debian infrastructure for the
upcoming salsa.debian.org migration. (Closes: #885974)
+ + [CL] Include the offending "Bugs" field value in the output of the
+ bugs-field-does-not-refer-to-debian-infrastructure tag.
* checks/huge-usr-share.pm:
+ [CL] Bump arch-dep-package-has-big-usr-share thresholds; they were
last set in 2004. (Closes: #648755)
diff --git a/t/tests/fields-bugs-field-does-not-refer-to-debian-infrastructure/tags b/t/tests/fields-bugs-field-does-not-refer-to-debian-infrastructure/tags
index c589b02..8cef195 100644
--- a/t/tests/fields-bugs-field-does-not-refer-to-debian-infrastructure/tags
+++ b/t/tests/fields-bugs-field-does-not-refer-to-debian-infrastructure/tags
@@ -1 +1 @@
-W: fields-bugs-field-does-not-refer-to-debian-infrastructure: bugs-field-does-not-refer-to-debian-infrastructure line 11
+W: fields-bugs-field-does-not-refer-to-debian-infrastructure: bugs-field-does-not-refer-to-debian-infrastructure https://upstream.org/ (line 11)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: