[Debpool-commits] [SCM] Debpool Project Repository branch, master, updated. 0.2.3-63-g38a32aa

Andres Mejia mcitadel at gmail.com
Tue Jun 3 07:07:17 UTC 2008


The following commit has been merged in the master branch:
commit 1084d66ca6cbdf8cde6786bc404a5eabed136288
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Sun May 18 21:55:21 2008 -0400

    Support parsing changes files that are format 1.7 or 1.8.
    Increment the version to 0.3.1

diff --git a/debian/changelog b/debian/changelog
index 42a3c84..b61606b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-debpool (0.3.0) experimental; urgency=low
+debpool (0.3.1) experimental; urgency=low
 
   [ Andres Mejia ]
   * New maintainer (Closes: #465937)
@@ -86,8 +86,9 @@ debpool (0.3.0) experimental; urgency=low
   * Setup a user configuration directory at $ENV{'HOME'}/.debpool if one
     doesn't exist.
   * Added 'DM-Upload-Allowed: yes' field.
+  * Support parsing changes files that are format 1.7 or 1.8.
 
- -- Andres Mejia <mcitadel at gmail.com>  Tue, 13 May 2008 23:50:40 -0400
+ -- Andres Mejia <mcitadel at gmail.com>  Sun, 18 May 2008 21:53:29 -0400
 
 debpool (0.2.3) experimental; urgency=low
 
diff --git a/share/DebPool/Packages.pm b/share/DebPool/Packages.pm
index c722166..57c1f18 100644
--- a/share/DebPool/Packages.pm
+++ b/share/DebPool/Packages.pm
@@ -305,14 +305,14 @@ sub Parse_Changes {
     }
 
     # Now that we should have it, check to make sure we have a Format
-    # header, and that it's format 1.7 (the only thing we grok).
+    # header, and that it's format 1.7 or 1.8.
 
     if (!defined($result{'Format'})) {
         Log_Message("No Format header found in changes file '$file'",
                     LOG_PARSE, LOG_ERROR);
         $Error = 'No Format header found';
         return undef;
-    } elsif ('1.7' ne $result{'Format'}) {
+    } elsif (('1.7' ne $result{'Format'}) or ('1.8' ne $result{'Format'})) {
         Log_Message("Unrecognized Format version '$result{'Format'}'",
                     LOG_PARSE, LOG_ERROR);
         $Error = 'Unrecognized Format version';

-- 
Debpool Project Repository



More information about the Debpool-commits mailing list