diff options
-rw-r--r-- | conf.php | 5 | ||||
-rw-r--r-- | index.php | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -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'; @@ -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'], |