[devscripts] 01/02: debchange: Add support for buster and bullseye

Salvatore Bonaccorso carnil at debian.org
Sun Aug 7 15:03:44 UTC 2016


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

carnil pushed a commit to branch master
in repository devscripts.

commit 7c1ce3cade5414dda0eb554c27ed827b19ab1a02
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Aug 7 08:18:15 2016 +0200

    debchange: Add support for buster and bullseye
---
 debian/changelog     | 3 +++
 scripts/debchange.pl | 2 +-
 test/test_debchange  | 4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8d2422b..7dfbe28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ devscripts (2.16.7) UNRELEASED; urgency=medium
   * wnpp-alert:
     + Use HTTPS.
 
+  [ Salvatore Bonaccorso ]
+  * debchange: Add support for buster and bullseye
+
  -- Paul Wise <pabs at debian.org>  Fri, 15 Jul 2016 22:36:19 +0800
 
 devscripts (2.16.6) unstable; urgency=medium
diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index af6176c..d8aeb00 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -472,7 +472,7 @@ if ($vendor eq 'Ubuntu' and ($opt_n or $opt_bn or $opt_qa or $opt_bpo)) {
 # Check the distro name given.
 if (defined $opt_D) {
     if ($vendor eq 'Debian') {
-	unless ($opt_D =~ /^(experimental|unstable|UNRELEASED|((old)?stable|testing)(-proposed-updates)?|proposed-updates|(wheezy|jessie|stretch)-security)$/) {
+	unless ($opt_D =~ /^(experimental|unstable|UNRELEASED|((old)?stable|testing)(-proposed-updates)?|proposed-updates|(wheezy|jessie|stretch|buster|bullseye)-security)$/) {
 	    my $deb_info = get_debian_distro_info();
 	    my ($oldstable_backports, $stable_backports) = ("", "");
 	    if ($deb_info == 0) {
diff --git a/test/test_debchange b/test/test_debchange
index 30721e4..503764e 100755
--- a/test/test_debchange
+++ b/test/test_debchange
@@ -82,9 +82,11 @@ checkUbuntuVersion() {
 }
 
 testDebianDistributions() {
+    checkDebianDistribution "bullseye-security"
+    checkDebianDistribution "buster-security"
+    checkDebianDistribution "stretch-security"
     checkDebianDistribution "jessie-security"
     checkDebianDistribution "wheezy-security"
-    checkDebianDistribution "stretch-security"
     checkDebianDistribution "experimental"
     checkDebianDistribution "oldstable"
     checkDebianDistribution "oldstable-proposed-updates"

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



More information about the devscripts-devel mailing list