summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-12 12:40:54 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-12 12:40:54 +0000
commit6734a4608628c7d124cdd89bf7be5561361fd176 (patch)
tree6ba7f7b1116f29869792bcd420dfc442bb1b02d8 /index.php
parent45f946c65e2ba16431dd315f45cf49bd7199a9fd (diff)
downloadpkgsubmit-6734a4608628c7d124cdd89bf7be5561361fd176.tar
pkgsubmit-6734a4608628c7d124cdd89bf7be5561361fd176.tar.gz
pkgsubmit-6734a4608628c7d124cdd89bf7be5561361fd176.tar.bz2
pkgsubmit-6734a4608628c7d124cdd89bf7be5561361fd176.tar.xz
pkgsubmit-6734a4608628c7d124cdd89bf7be5561361fd176.zip
Revert some changes which were part of another unfinished change
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.php b/index.php
index 762e76c..597423e 100644
--- a/index.php
+++ b/index.php
@@ -48,7 +48,7 @@ foreach ($matches as $val) {
$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 @@ foreach ($matches as $val) {
} 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