Package: debpool Severity: grave Tags: patch X-Debbugs-CC: [EMAIL PROTECTED]
With changes files now being produced in format version 1.8 in unstable, debpool has become useless as all packages being uploaded will stay in incoming and have debpool produce a log message similar to this. 2008-05-18 21:59:29 [GENERAL/INFO] Processing changefile 'ogre_1.4.8.dfsg1-1_i386.changes' 2008-05-18 21:59:29 [PARSE/ERROR] Unrecognized Format version '1.8' 2008-05-18 21:59:29 [GENERAL/ERROR] Failure parsing changes file 'ogre_1.4.8.dfsg1-1_i386.changes': Unrecognized Format version I've attached a patch to fix this, and already uploaded to my branch in git. -- Regards, Andres
--- 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'}) and ('1.8' ne $result{'Format'})) { Log_Message("Unrecognized Format version '$result{'Format'}'", LOG_PARSE, LOG_ERROR); $Error = 'Unrecognized Format version';
signature.asc
Description: This is a digitally signed message part.