summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.php5
-rw-r--r--index.php2
2 files changed, 5 insertions, 2 deletions
diff --git a/conf.php b/conf.php
index 20f13ce..a74c192 100644
--- a/conf.php
+++ b/conf.php
@@ -37,4 +37,7 @@ $title = 'Build system status';
$robots = 'index,nofollow,nosnippet,noarchive';
/** */
-$g_root_url = 'http://pkgsubmit.mageia.org/'; \ No newline at end of file
+$g_root_url = 'http://pkgsubmit.mageia.org/';
+
+/** URL to view a package svn revision. %d is replaced by the revision */
+$package_commit_url = 'http://svnweb.mageia.org/packages?view=revision&revision=%d';
diff --git a/index.php b/index.php
index 6bb141b..965f8b2 100644
--- a/index.php
+++ b/index.php
@@ -141,7 +141,7 @@ if ($total > 0) {
if (trim($p['package']) == '') {
continue;
}
- $revision_link = sprintf('http://svnweb.mageia.org/packages?view=revision&revision=%d', $p['revision']);
+ $revision_link = sprintf($package_commit_url, $p['revision']);
$s .= sprintf($tmpl,
$p['type'],