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

[lintian] 02/03: Rename bugs-field-in-debian-control to bugs-field-does-not-refer-to-debian-infrastructure.



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

lamby pushed a commit to branch master
in repository lintian.

commit ab37a18333c96c8fb7e140bb8d70d1600e6bc22c
Author: Chris Lamb <lamby@debian.org>
Date:   Fri Dec 22 22:18:19 2017 +0000

    Rename bugs-field-in-debian-control to bugs-field-does-not-refer-to-debian-infrastructure.
---
 checks/control-file.desc           | 2 +-
 checks/control-file.pm             | 2 +-
 profiles/kali/main.profile         | 2 +-
 profiles/pureos/main.profile       | 2 +-
 profiles/ubuntu/main.profile       | 2 +-
 t/tests/control-file-pedantic/desc | 2 +-
 t/tests/control-file-pedantic/tags | 3 +--
 7 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/checks/control-file.desc b/checks/control-file.desc
index 526ced2..45d0c9f 100644
--- a/checks/control-file.desc
+++ b/checks/control-file.desc
@@ -331,7 +331,7 @@ Certainty: certain
 Info: Package requires fakeroot or similar to build binary targets and explicitly declares it.
 Ref: /usr/share/doc/dpkg-dev/rootless-builds.txt.gz
 
-Tag: bugs-field-in-debian-control
+Tag: bugs-field-does-not-refer-to-debian-infrastructure
 Severity: normal
 Certainty: possible
 Info: The <tt>debian/control</tt> file contains an Bugs field that does
diff --git a/checks/control-file.pm b/checks/control-file.pm
index 4f6ef76..e6b7f96 100644
--- a/checks/control-file.pm
+++ b/checks/control-file.pm
@@ -102,7 +102,7 @@ sub run {
                 tag 'xc-package-type-in-debian-control', "line $.";
             }
             if ($field eq 'bugs' and not m/\.debian\.org/) {
-                tag 'bugs-field-in-debian-control', "line $.";
+                tag 'bugs-field-does-not-refer-to-debian-infrastructure', "line $.";
             }
             unless (/^\S+: \S/ || /^\S+:$/) {
                 tag 'debian-control-has-unusual-field-spacing', "line $.";
diff --git a/profiles/kali/main.profile b/profiles/kali/main.profile
index 818c46d..bb87bce 100644
--- a/profiles/kali/main.profile
+++ b/profiles/kali/main.profile
@@ -3,4 +3,4 @@ Profile: kali/main
 Extends: debian/main
 Disable-Tags: changelog-should-mention-nmu,
  source-nmu-has-incorrect-version-number,
- bugs-field-in-debian-control
+ bugs-field-does-not-refer-to-debian-infrastructure
diff --git a/profiles/pureos/main.profile b/profiles/pureos/main.profile
index 2dfbea3..b45bf7a 100644
--- a/profiles/pureos/main.profile
+++ b/profiles/pureos/main.profile
@@ -1,4 +1,4 @@
 # The default profile for PureOS and derivatives thereof.
 Profile: pureos/main
 Extends: debian/main
-Disable-Tags: bugs-field-in-debian-control
+Disable-Tags: bugs-field-does-not-refer-to-debian-infrastructure
diff --git a/profiles/ubuntu/main.profile b/profiles/ubuntu/main.profile
index 7536b1f..016db23 100644
--- a/profiles/ubuntu/main.profile
+++ b/profiles/ubuntu/main.profile
@@ -10,4 +10,4 @@ Disable-Tags: changelog-should-mention-nmu,
  team-upload-has-incorrect-version-number,
  uploader-address-causes-mail-loops-or-bounces,
  upstart-job-in-etc-init.d-not-registered-via-update-rc.d,
- no-human-maintainers, bugs-field-in-debian-control
+ no-human-maintainers, bugs-field-does-not-refer-to-debian-infrastructure
diff --git a/t/tests/control-file-pedantic/desc b/t/tests/control-file-pedantic/desc
index 18cf155..be929c5 100644
--- a/t/tests/control-file-pedantic/desc
+++ b/t/tests/control-file-pedantic/desc
@@ -4,5 +4,5 @@ Skeleton: pedantic
 Options: --pedantic -I -E
 Description: Pedantic tests for control file issues
 Test-For:
- bugs-field-in-debian-control
+ bugs-field-does-not-refer-to-debian-infrastructure
  xc-package-type-in-debian-control
diff --git a/t/tests/control-file-pedantic/tags b/t/tests/control-file-pedantic/tags
index 007aece..dc8318f 100644
--- a/t/tests/control-file-pedantic/tags
+++ b/t/tests/control-file-pedantic/tags
@@ -1,3 +1,2 @@
 P: control-file-pedantic source: xc-package-type-in-debian-control line 15
-W: control-file-pedantic source: bugs-field-in-debian-control line 16
-W: control-file-pedantic source: bugs-field-in-debian-control line 9
+W: control-file-pedantic source: bugs-field-does-not-refer-to-debian-infrastructure line 9

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


Reply to: