Author: adsb
Date: 2009-02-11 19:35:49 +0000 (Wed, 11 Feb 2009)
New Revision: 1812

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
Don't accept "sarge", "etch" or "lenny" as valid distributions. dak
requires suite names (e.g. "stable") rather than codenames.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2009-02-11 19:34:04 UTC (rev 1811)
+++ trunk/debian/changelog      2009-02-11 19:35:49 UTC (rev 1812)
@@ -8,6 +8,8 @@
   * debchange:
     + Add lenny-backports and lenny-volatile to the list of recognised
       distributions. (Closes: #514818)
+    + Don't accept "sarge", "etch" or "lenny" as valid distributions. dak
+      requires suite names (e.g. "stable") rather than codenames.
   * licensecheck:
     + Remove C /* */ comments. Based on a patch by Jörg Sommer.
     + Identify another form of GPL wording.

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2009-02-11 19:34:04 UTC (rev 1811)
+++ trunk/scripts/debchange.pl  2009-02-11 19:35:49 UTC (rev 1812)
@@ -383,7 +383,7 @@
     $distributor ||= 'Debian';
 
     if ($distributor eq 'Debian') {
-       unless ($opt_D =~ 
/^(unstable|((old)?stable|testing)(-security)?|experimental|UNRELEASED|(sarge|etch|lenny)(-volatile|-backports)?|((oldstable|testing)-)?proposed-updates)$/)
 {
+       unless ($opt_D =~ 
/^(unstable|((old)?stable|testing)(-security)?|experimental|UNRELEASED|(sarge|etch|lenny)(-volatile|-backports)|((oldstable|testing)-)?proposed-updates)$/)
 {
            warn "$progname warning: Recognised distributions are: unstable, 
testing, stable,\noldstable, experimental, UNRELEASED, 
{sarge,etch,lenny}-{volatile,backports},\n{oldstable-,testing-,}proposed-updates
 and {testing,stable,oldstable}-security.\nUsing your request anyway.\n";
            $warnings++ if not $opt_force_dist;
        }



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

Reply via email to