index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-16 14:45:52 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-16 14:45:52 +0100 |
commit | c058238e43130a9323de3bfde29639b747cd6578 (patch) | |
tree | b6f11f64ef5ea274595ffe63704609ad549975a9 /web-scripts | |
parent | 0b6bf4babcdc819764aa961294af89240695eee2 (diff) |
-rwxr-xr-x | web-scripts/mysql-issues.php | 12 |
diff --git a/web-scripts/mysql-issues.php b/web-scripts/mysql-issues.php index fc948a7..8de8937 100755 --- a/web-scripts/mysql-issues.php +++ b/web-scripts/mysql-issues.php @@ -45,6 +45,8 @@ )) die($mysql -> error); + print "Found " . ($result -> num_rows) . " serious issues.<br>\n"; + if ($result -> num_rows > 0) { while ($row = $result->fetch_assoc()) { @@ -52,8 +54,8 @@ print "<font color=\"#00ff00\">(marked as to-be-deleted) "; else print "<font color=\"#ff0000\">"; - print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package.<br>\n"; - print "</font>"; + print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package.<br>"; + print "</font>\n"; } } @@ -96,14 +98,16 @@ )) die($mysql -> error); + print "Found " . ($result -> num_rows) . " stability issues.<br>\n"; + if ($result -> num_rows > 0) { while ($row = $result->fetch_assoc()) { if ($row["is_to_be_deleted"]==1) print "<font color=\"#00ff00\">(marked as to-be-deleted) "; else print "<font color=\"#800000\">"; - print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package installable from enabled " . $row["stability"] . " repositories.<br>\n"; - print "</font>"; + print $row["pkgfile"] . " depends on " . $row["install_target"] . " which is not provided by any package installable from enabled " . $row["stability"] . " repositories.<br>"; + print "</font>\n"; } } |