[Mageia-sysadm] [271] Revert some changes which were part of another unfinished change

root at mageia.org root at mageia.org
Wed Jan 12 13:40:54 CET 2011


Revision: 271
Author:   pterjan
Date:     2011-01-12 13:40:54 +0100 (Wed, 12 Jan 2011)
Log Message:
-----------
Revert some changes which were part of another unfinished change

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-12 11:52:13 UTC (rev 270)
+++ build_system/web/index.php	2011-01-12 12:40:54 UTC (rev 271)
@@ -48,7 +48,7 @@
 
     $status = $val[1];
     $data = $val[10];
-    $pkgs[$key]["status"][$status] = $data;
+    $pkgs[$key]["status"][$status] = 1;
     $ext = $val[11];
     if ($ext == ".src.rpm.info") {
         preg_match("!^(?:@\d+:)?(.*)!", $data, $name);
@@ -58,9 +58,8 @@
     } else if ($ext == ".youri") {
         $pkgs[$key]["status"]["youri"] = 1;
     } else if ($ext == ".lock") {
-	preg_match("/(.*)\..*\.(.*)\.\d+\.\d+/", "(\1@\2)", $data);
         // parse build bot from $data
-        $pkgs[$key]["status"]["build"] = $data;
+        $pkgs[$key]["status"]["build"] = 1;
     }
 }
 // sort by key in reverse order to have more recent pkgs first
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110112/105985ce/attachment.html>


More information about the Mageia-sysadm mailing list