/[soft]/build_system/web/autobuild/results.php
ViewVC logotype

Diff of /build_system/web/autobuild/results.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6789 by pterjan, Tue Dec 11 23:03:12 2012 UTC revision 6790 by pterjan, Sat Dec 15 22:09:38 2012 UTC
# Line 12  while (false !== ($entry = readdir($hand Line 12  while (false !== ($entry = readdir($hand
12  closedir($handle);  closedir($handle);
13  sort($runs);  sort($runs);
14    
15    $latest = readlink("cauldron/x86_64/core/latest");
16  $run = $_GET['run'];  $run = $_GET['run'];
17  if (!$run) {  if (!$run) {
18          $run = readlink("cauldron/x86_64/core/latest");          $run = $latest;
19  }  }
20    
21  foreach ($runs as $r) {  foreach ($runs as $r) {
# Line 100  $estimated_percent = round(($nb_success+ Line 101  $estimated_percent = round(($nb_success+
101  echo "<title>$succes_percent% Success</title>\n";  echo "<title>$succes_percent% Success</title>\n";
102  echo "</head><body>\n";  echo "</head><body>\n";
103    
104    echo "<div style='position:absolute;right:0;top:0;'>";
105    foreach ($runs as $r) {
106            $text = $r . (($r > $latest) ? ' (in progress)' : '');
107            
108            if ($r==$run) {
109                    echo $text;
110            } else {
111                    echo '<a href="'.$_SERVER["PHP_SELF"].'?run='.$r.'">'.$text.'</a>';
112            }
113            echo ' ';
114    }
115    
116    echo "</div>\n";
117  echo "<h1>$succes_percent% Success</h1>\n";  echo "<h1>$succes_percent% Success</h1>\n";
118  echo "$nb_fixed packages have been fixed since this run and $nb_removed have been removed.<br/> If no new package was broken, success rate next time should be $estimated_percent%.<br/>\n";  echo "$nb_fixed packages have been fixed since this run and $nb_removed have been removed.<br/> If no new package was broken, success rate next time should be $estimated_percent%.<br/>\n";
119  echo "<div style='float:left'><h1>Failed builds ($nb_failed/$nb_tried):</h1><ul>";  echo "<div style='float:left'><h1>Failed builds ($nb_failed/$nb_tried):</h1><ul>";

Legend:
Removed from v.6789  
changed lines
  Added in v.6790

  ViewVC Help
Powered by ViewVC 1.1.26