summaryrefslogtreecommitdiff
path: root/buildmaster/build-list.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/build-list.php
parent1a7538265f7a2748e8864c002e75e55cb8a270ba (diff)
downloadarchweb32-a0c305ec1b70c0d5a8aad8a1d3b2477bc3a15bbe.tar.xz
git_url() new
Diffstat (limited to 'buildmaster/build-list.php')
-rw-r--r--buildmaster/build-list.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php
index 1b4466f..2ff9b92 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -1,6 +1,7 @@
<?php
require_once "../init.php";
+require_once BASE . "/lib/helper.php";
require_once BASE . "/lib/mysql.php";
require_once BASE . "/lib/style.php";
@@ -82,13 +83,14 @@ $columns = array(
"mysql_query" =>
"IF(`ba_q`.`uses_modification`," .
"CONCAT(" .
- "\"<a href=\\\"https://git.archlinux32.org/archlinux32/packages/src/commit/\"," .
- "`ba_q`.`mod_git_revision`," .
- "\"/\"," .
- "`ba_q`.`package_repository`," .
- "\"/\"," .
- "`ba_q`.`pkgbase`," .
- "\"\\\">\"," .
+ "\"<a href=\\\"" .
+ git_url(
+ "packages",
+ "tree",
+ "\",`ba_q`.`mod_git_revision`,\"",
+ "\",`ba_q`.`package_repository`,\"/\",`ba_q`.`pkgbase`,\""
+ ) .
+ "\\\">\"," .
"`ba_q`.`mod_git_revision`," .
"\"</a>\"" .
")," .