Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-16 14:45:52 +0100
committerErich Eckner <git@eckner.net>2018-03-16 14:45:52 +0100
commitc058238e43130a9323de3bfde29639b747cd6578 (patch)
treeb6f11f64ef5ea274595ffe63704609ad549975a9
parent0b6bf4babcdc819764aa961294af89240695eee2 (diff)
web-scripts/mysql-issues.php: add summary lines
-rwxr-xr-xweb-scripts/mysql-issues.php12
1 files changed, 8 insertions, 4 deletions
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";
}
}