diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-24 21:13:19 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-24 21:13:19 +0000 |
commit | e171bcd4e0f1fbc8eb983bc3980124ad9877b19f (patch) | |
tree | ae84c7ef3dd26873fa538542ef017882331cbc8f /autobuild/results.php | |
parent | 792ab335f659024afc62057b0796d09faf7e173b (diff) | |
download | pkgsubmit-e171bcd4e0f1fbc8eb983bc3980124ad9877b19f.tar pkgsubmit-e171bcd4e0f1fbc8eb983bc3980124ad9877b19f.tar.gz pkgsubmit-e171bcd4e0f1fbc8eb983bc3980124ad9877b19f.tar.bz2 pkgsubmit-e171bcd4e0f1fbc8eb983bc3980124ad9877b19f.tar.xz pkgsubmit-e171bcd4e0f1fbc8eb983bc3980124ad9877b19f.zip |
Mention the number of packages remaining to fix
Diffstat (limited to 'autobuild/results.php')
-rw-r--r-- | autobuild/results.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php index 29f988b..081c66e 100644 --- a/autobuild/results.php +++ b/autobuild/results.php @@ -147,6 +147,7 @@ $nb_failed = count($failure); $nb_success = count($success); $nb_fixed = count($fixed); $nb_removed = count($removed); +$nb_still_broken = $nb_failed - $nb_fixed - $nb_removed; $nb_tried = $nb_failed + $nb_success; $succes_percent = round($nb_success*1000/$nb_tried)/10; $estimated_percent = round(($nb_success+$nb_fixed)*1000/($nb_tried-$nb_removed))/10; @@ -234,7 +235,7 @@ if ($_GET['include_success'] === 'true') { } echo "</div>\n"; echo "<h2>Changes since this run</h2>\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"; +echo "$nb_fixed packages have been fixed since this run, $nb_removed have been removed and $nb_still_broken have not changed.<br/> If no new package was broken, success rate next time should be $estimated_percent%.<br/>\n"; echo "<h2>Failed builds ($nb_failed/$nb_tried)</h2>\n"; echo "<table class=\"failureTable\" >\n"; echo "<tr><th></th><th>Status</th><th>Failure type</th><th>Build step</th><th></th><th>Languages</th><th>Detected errors</th></tr>\n"; |