[debhelper-devel] [debhelper] 01/01: Deprecate compat levels before 9
Niels Thykier
nthykier at moszumanska.debian.org
Sun Oct 2 12:35:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 6812ef24ea66b7b9ab945efcd3bd161068151e17
Author: Niels Thykier <niels at thykier.net>
Date: Sun Oct 2 12:34:24 2016 +0000
Deprecate compat levels before 9
Signed-off-by: Niels Thykier <niels at thykier.net>
---
Debian/Debhelper/Dh_Lib.pm | 2 +-
debhelper-obsolete-compat.pod | 4 ++++
debhelper.pod | 8 ++++++++
debian/changelog | 1 +
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index ff7367b..276686b 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -13,7 +13,7 @@ use constant {
'MIN_COMPAT_LEVEL' => 5,
# Lowest compat level that does *not* cause deprecation
# warnings
- 'LOWEST_NON_DEPRECATED_COMPAT_LEVEL' => 5,
+ 'LOWEST_NON_DEPRECATED_COMPAT_LEVEL' => 9,
# Highest "open-beta" compat level. Remember to notify
# debian-devel at l.d.o before bumping this.
'BETA_TESTER_COMPAT' => 10,
diff --git a/debhelper-obsolete-compat.pod b/debhelper-obsolete-compat.pod
index 1d9f349..4c98ac3 100644
--- a/debhelper-obsolete-compat.pod
+++ b/debhelper-obsolete-compat.pod
@@ -55,6 +55,8 @@ Every file in F<etc/> is automatically flagged as a conffile by B<dh_installdeb>
=back
+This mode is deprecated.
+
=item v4
Changes from v3 are:
@@ -82,6 +84,8 @@ B<dh_link> will correct existing links to conform with policy.
=back
+This mode is deprecated.
+
=item v5
This is the lowest supported compatibility level.
diff --git a/debhelper.pod b/debhelper.pod
index b27bd64..bfc5e19 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -305,6 +305,8 @@ This is the lowest supported compatibility level.
If you are upgrading from an earlier compatibility level, please
review L<debhelper-obsolete-compat(7)>.
+This mode is deprecated.
+
=item v6
Changes from v5 are:
@@ -335,6 +337,8 @@ directory. In previous compatibility levels it silently refuses to do this.
=back
+This mode is deprecated.
+
=item v7
Changes from v6 are:
@@ -363,6 +367,8 @@ none is specified.
=back
+This mode is deprecated.
+
=item v8
Changes from v7 are:
@@ -392,6 +398,8 @@ B<dh_auto_>I<*> prefer to use Perl's B<Module::Build> in preference to F<Makefil
=back
+This mode is deprecated.
+
=item v9
Changes from v8 are:
diff --git a/debian/changelog b/debian/changelog
index c007fb6..d6f8a29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ debhelper (10.2.2) UNRELEASED; urgency=medium
* Fix typo in changelog entry for release 10.2. Thanks to
Peter Pentchev for reporting it.
+ * Deprecate all compat levels lower than 9.
-- Niels Thykier <niels at thykier.net> Sun, 02 Oct 2016 09:52:08 +0000
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list