The following commit has been merged in the master branch:
commit 0f73a80eeefb90ebc46ce940baecb899a3fa2b86
Author: James McCoy <[email protected]>
Date:   Sat Apr 14 11:22:39 2012 -0400

    debchange: Remove EOLed releases Lenny and Maverick.
    
    Signed-off-by: James McCoy <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 56dc73d..e8262c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ devscripts (2.11.7) UNRELEASED; urgency=low
 
   * bts: Generate a proper Cc field with "reassign … . done …".  (Closes:
     #668132)
+  * debchange: Remove EOLed releases Lenny and Maverick.
 
  -- James McCoy <[email protected]>  Mon, 09 Apr 2012 19:27:24 -0400
 
diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index 5cbe949..4773f39 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -408,13 +408,13 @@ if (defined $opt_D) {
     $distributor ||= 'Debian';
 
     if ($distributor eq 'Debian') {
-       unless ($opt_D =~ 
/^(unstable|((old)?stable|testing)(-security)?|experimental|UNRELEASED|lenny-volatile|lenny-backports(-sloppy)?|squeeze-backports|((oldstable|testing)-)?proposed-updates)$/)
 {
-           warn "$progname warning: Recognised distributions are: unstable, 
testing, stable,\noldstable, experimental, UNRELEASED, lenny-volatile, 
lenny-backports{-sloppy,}, 
squeeze-backports,\n{oldstable-,testing-,}proposed-updates and 
{testing,stable,oldstable}-security.\nUsing your request anyway.\n";
+       unless ($opt_D =~ 
/^(unstable|((old)?stable|testing)(-security)?|experimental|UNRELEASED|squeeze-backports|((oldstable|testing)-)?proposed-updates)$/)
 {
+           warn "$progname warning: Recognised distributions are: unstable, 
testing, stable,\noldstable, experimental, UNRELEASED, 
squeeze-backports,\n{oldstable-,testing-,}proposed-updates and 
{testing,stable,oldstable}-security.\nUsing your request anyway.\n";
            $warnings++ if not $opt_force_dist;
        }
     } elsif ($distributor eq 'Ubuntu') {
-       unless ($opt_D =~ 
/^((hardy|lucid|maverick|natty|oneiric|precise)(-updates|-security|-proposed|-backports)?|UNRELEASED)$/)
 {
-           warn "$progname warning: Recognised distributions 
are:\n{hardy,lucid,maverick,natty,oneiric,precise}{,-updates,-security,-proposed,-backports}
 and UNRELEASED.\nUsing your request anyway.\n";
+       unless ($opt_D =~ 
/^((hardy|lucid|natty|oneiric|precise)(-updates|-security|-proposed|-backports)?|UNRELEASED)$/)
 {
+           warn "$progname warning: Recognised distributions 
are:\n{hardy,lucid,natty,oneiric,precise}{,-updates,-security,-proposed,-backports}
 and UNRELEASED.\nUsing your request anyway.\n";
            $warnings++ if not $opt_force_dist;
        }
     } else {
@@ -510,7 +510,7 @@ my $MAINTAINER = 'MAINTAINER';
 my $EMAIL = 'EMAIL';
 my $DISTRIBUTION = 'UNRELEASED';
 my $bpo_dist = '';
-my %bpo_dists = ( 50, 'lenny', 60, 'squeeze' );
+my %bpo_dists = ( 60, 'squeeze' );
 my $latest_bpo_dist = '60';
 my $CHANGES = '';
 # Changelog urgency, possibly propogated to NEWS files

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to