Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/todos.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-27 09:31:58 +0200
committerErich Eckner <git@eckner.net>2018-07-27 09:31:58 +0200
commita0c305ec1b70c0d5a8aad8a1d3b2477bc3a15bbe (patch)
tree510b29364a4c736f5634147046b656b146faced3 /buildmaster/todos.php
parent1a7538265f7a2748e8864c002e75e55cb8a270ba (diff)
git_url() new
Diffstat (limited to 'buildmaster/todos.php')
-rw-r--r--buildmaster/todos.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildmaster/todos.php b/buildmaster/todos.php
index e3d7319..bf77f08 100644
--- a/buildmaster/todos.php
+++ b/buildmaster/todos.php
@@ -1,5 +1,7 @@
<?php
require_once "../init.php";
+
+include BASE . "/lib/helper.php";
include BASE . "/lib/mysql.php";
$result = mysql_run_query(
@@ -76,7 +78,9 @@ if (isset($_GET["graph"])) {
while ($row = $result->fetch_assoc()) {
print "<a href=\"#TODO" . $row["id"] . "\" name=\"TODO" . $row["id"] ."\">TODO #" . $row["id"] . "</a>";
print " - ";
- print "<a href=\"https://git.archlinux32.org/archlinux32/builder/src/branch/master/" . $row["file"] . "#L" . $row["line"] . "\">" . $row["file"] . "(line " . $row["line"] . ")</a>";
+ print "<a href=\"";
+ print git_url("builder","tree","master",$row["file"],$row["line"]);
+ print "\">" . $row["file"] . "(line " . $row["line"] . ")</a>";
print ":<br>\n";
print str_replace("\\n","<br>\n",$row["description"]);
print "<br>\n";