[SCM] Debian package checker branch, master, updated. 2.5.10-180-g6f17263
The following commit has been merged in the master branch:
commit 6f172630d60b30e0e3229bbff9c4342730e2421f
Author: Niels Thykier <niels@thykier.net>
Date: Mon Oct 1 16:48:19 2012 +0200
c/fields: Tag usage of obsolete DMUA field
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/fields b/checks/fields
index 3804a00..171139f 100644
--- a/checks/fields
+++ b/checks/fields
@@ -933,6 +933,8 @@ if (defined $info->field('python-version')) {
if (defined $info->field('dm-upload-allowed')) {
my $dmupload = $info->field('dm-upload-allowed');
+ tag 'dm-upload-allowed-is-obsolete';
+
unfold('dm-upload-allowed', \$dmupload);
unless ($dmupload eq 'yes') {
diff --git a/checks/fields.desc b/checks/fields.desc
index 4e62599..cc4ed95 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -1086,3 +1086,12 @@ Info: The package appears to be a release candidate or preview release, but
the version sorts higher than the expected final release.
.
Note this check is limited to new upstream releases of non-native packages.
+
+Tag: dm-upload-allowed-is-obsolete
+Severity: normal
+Certainty: certain
+Info: The implementation of the "Debian Maintainers" GR has changed
+ and the "DM-Upload-Allowed" field is now obsolete.
+ .
+ Instead these permissions are granted via "dak-commands" files.
+Ref: https://lists.debian.org/debian-devel-announce/2012/09/msg00008.html
diff --git a/debian/changelog b/debian/changelog
index 7156890..608ae2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ lintian (2.5.11) UNRELEASED; urgency=low
* Summary of tag changes:
+ Added:
+ - dm-upload-allowed-is-obsolete
- field-name-typo-in-dep5-copyright
+ Removed:
- apparently-truncated-elf-binary
@@ -53,6 +54,8 @@ lintian (2.5.11) UNRELEASED; urgency=low
+ [NT] Retire no-source-field since Lintian cannot emit it any
more due to dpkg-source refusing to extract such source
packages.
+ + [NT] Add tag for using the obsolete DMUA field. Thanks to
+ Ansgar Burchardt for the report. (Closes: #688494)
* checks/files:
+ [RG] Recognise smarty3 as smarty itself.
* checks/infofiles:
diff --git a/t/tests/fields-dmua/desc b/t/tests/fields-dmua/desc
index 5855104..70b61b6 100644
--- a/t/tests/fields-dmua/desc
+++ b/t/tests/fields-dmua/desc
@@ -3,4 +3,5 @@ Sequence: 6000
Version: 1.0
Description: Test for invalid DMUA field
Test-For:
+ dm-upload-allowed-is-obsolete
malformed-dm-upload-allowed
diff --git a/t/tests/fields-dmua/tags b/t/tests/fields-dmua/tags
index 88ed5fb..79a6845 100644
--- a/t/tests/fields-dmua/tags
+++ b/t/tests/fields-dmua/tags
@@ -1 +1,2 @@
E: fields-dmua source: malformed-dm-upload-allowed no
+W: fields-dmua source: dm-upload-allowed-is-obsolete
diff --git a/testset/tags.binary b/testset/tags.binary
index c1264dc..b856eeb 100644
--- a/testset/tags.binary
+++ b/testset/tags.binary
@@ -63,6 +63,7 @@ W: binary source: ancient-standards-version 3.2.1 (current is 3.9.4)
W: binary source: debian-rules-ignores-make-clean-error line 14
W: binary source: debian-rules-missing-recommended-target build-indep
W: binary source: debian-rules-uses-pwd line 9
+W: binary source: dm-upload-allowed-is-obsolete
W: binary source: intra-source-package-circular-dependency binary binary-data
W: binary source: maintainer-upload-has-incorrect-version-number 4-1.1
W: binary source: native-package-with-dash-version
diff --git a/testset/tags.foo++ b/testset/tags.foo++
index 5f680f6..d7ceb84 100644
--- a/testset/tags.foo++
+++ b/testset/tags.foo++
@@ -19,6 +19,7 @@ I: foo++: no-md5sums-control-file
W: foo++ source: ancient-standards-version 3.1.1 (current is 3.9.4)
W: foo++ source: debian-watch-file-in-native-package
W: foo++ source: debian-watch-file-unknown-version 0
+W: foo++ source: dm-upload-allowed-is-obsolete
W: foo++ source: uploader-address-looks-weird Jeroen van Wolffelaar<jeroen@localhost.localdomain>
W: foo++-helper: empty-binary-package
W: foo++: latest-debian-changelog-entry-without-new-date
diff --git a/testset/tags.maintainer-scripts b/testset/tags.maintainer-scripts
index 6dd3db7..5dcf8f0 100644
--- a/testset/tags.maintainer-scripts
+++ b/testset/tags.maintainer-scripts
@@ -47,6 +47,7 @@ W: maintainer-scripts source: debian-watch-file-should-mangle-version line 11
W: maintainer-scripts source: debian-watch-file-should-mangle-version line 7
W: maintainer-scripts source: debian-watch-file-unknown-version 4
W: maintainer-scripts source: dfsg-version-in-native-package 7+dfsg-0.1
+W: maintainer-scripts source: dm-upload-allowed-is-obsolete
W: maintainer-scripts source: no-debian-copyright
W: maintainer-scripts source: package-uses-deprecated-debhelper-compat-version 1
W: maintainer-scripts source: qa-upload-has-incorrect-version-number 7+dfsg-0.1
--
Debian package checker
Reply to: