[Kerncomp-cvs] kerncomp/php index.php,1.1.1.1,1.2 rss.php,1.4,1.5
Brought to you by:
delsarto,
dswatgelato
From: Ian W. <del...@us...> - 2005-09-27 00:26:09
|
Update of /cvsroot/kerncomp/kerncomp/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9242 Modified Files: index.php rss.php Log Message: show status report for each entry in title Index: rss.php =================================================================== RCS file: /cvsroot/kerncomp/kerncomp/php/rss.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** rss.php 12 May 2005 02:34:39 -0000 1.4 --- rss.php 27 Sep 2005 00:25:58 -0000 1.5 *************** *** 42,65 **** $description = "<h2>Kernel Compile Results</h2>"; ! while ( $line = fgets($logfile) ) { ! ! list ($test_name, $status, $warnings) = split(" ",$line); ! $explaination = fgets($logfile); ! ! $full_result = "$RESULTS/$dirname/$test_name-log.html"; ! if ($is_archived) ! $full_result = $full_result.".bz2"; ! $warnings = trim($warnings); ! $explaination = rtrim($explaination); ! $description = $description."<p><pre><a href=\"http://www.gelato.unsw.edu.au/kerncomp/$full_result\">$test_name</a> | $status [$warnings] | $explaination</pre></p>"; ! } ! fclose($logfile); ! $dataArray[] = array("title" => "$version : $date : $time", ! "link" => "http://www.gelato.unsw.edu.au/kerncomp", ! "description" => htmlspecialchars($description)); ! } --- 42,94 ---- $description = "<h2>Kernel Compile Results</h2>"; + $build = 0; + $build_ok = 0; + $patch = 0; + $patch_ok = 0; + $boot = 0; + $boot_ok = 0; ! while ( $line = fgets($logfile) ) { ! list ($test_name, $status, $warnings) = split(" ",$line); ! $explaination = fgets($logfile); ! $full_result = "$RESULTS/$dirname/$test_name-log.html"; ! if ($is_archived) ! $full_result = $full_result.".bz2"; ! $warnings = trim($warnings); ! $explaination = rtrim($explaination); ! $description = $description."<p><pre><a href=\"http://www.gelato.unsw.edu.au/kerncomp/$full_result\">$test_name</a> | $status [$warnings] | $explaination</pre></p>"; ! foreach(explode("|", $status) as $stat) ! { ! switch ($stat) ! { ! case "BUILD_OK": ! $build++; ! $build_ok++; ! break; ! case "BUILD_FAIL": ! $build++; ! break; ! case "PATCH_OK": ! $patch++; ! $patch_ok++; ! break; ! case "PATCH_FAIL": ! $patch++; ! break; ! case "BOOT_OK": ! $boot++; ! $boot_ok++; ! break; ! case "BOOT_FAIL": ! $boot++; ! break; ! } ! } ! } fclose($logfile); ! $dataArray[] = array("title" => "$version : $date : [patch $patch_ok/$patch] [build $build_ok/$build] [boot $boot_ok/$boot]", ! "link" => "http://www.gelato.unsw.edu.au/kerncomp", ! "description" => htmlspecialchars($description)); } Index: index.php =================================================================== RCS file: /cvsroot/kerncomp/kerncomp/php/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 9 May 2005 23:22:18 -0000 1.1.1.1 --- index.php 27 Sep 2005 00:25:58 -0000 1.2 *************** *** 11,15 **** <h1>IA64 Git AutoBuild Results</h1> ! <P>This page is generated by the Gelato@UNSW Git(Cogito) AutoBuild scripts daily. </P> <P> A <tt>cg-pull</tt> is executed each day, then each "test" is a build of a different configuration. The .config files are available <a href="./configs">here</a>, all <i>xxx_defconfig</i> files can be found in the kernel source tree <i>arch/ia64/configs</i>. </P> --- 11,15 ---- <h1>IA64 Git AutoBuild Results</h1> ! <P>This page is generated by the Gelato@UNSW Git (Cogito) AutoBuild scripts daily. </P> <P> A <tt>cg-pull</tt> is executed each day, then each "test" is a build of a different configuration. The .config files are available <a href="./configs">here</a>, all <i>xxx_defconfig</i> files can be found in the kernel source tree <i>arch/ia64/configs</i>. </P> |