Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/status.php
blob: 28eee6926d39c6008479dde2d2db9fd3fafffa83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

  include "lib/mysql.php";

  $result = mysql_run_query(
    "SELECT MAX(`package_sources`.`commit_time`) AS `last`" .
    "FROM `package_sources`"
  );

?>
<html>
<head>
<title>Build master status</title>
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<body>
<a href="https://buildmaster.archlinux32.org/">Start page</a><br>
<?php

if ($result -> num_rows > 0) {
  $row = $result->fetch_assoc();
  print "latest package source is from " . $row["last"] . ".<br>\n";
}

?>
</body>
</html>