diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 17:07:58 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-12-10 17:07:58 +0000 |
commit | 5c1bbb54810d9438716167d6ee12037c292b0cd2 (patch) | |
tree | ddf801286cd1fc776c9917a2e32e34b9ef049f7d | |
parent | 8a877d047b8ddfb3e802cfdb8f982f7e32c0f2cd (diff) | |
download | pkgsubmit-5c1bbb54810d9438716167d6ee12037c292b0cd2.tar pkgsubmit-5c1bbb54810d9438716167d6ee12037c292b0cd2.tar.gz pkgsubmit-5c1bbb54810d9438716167d6ee12037c292b0cd2.tar.bz2 pkgsubmit-5c1bbb54810d9438716167d6ee12037c292b0cd2.tar.xz pkgsubmit-5c1bbb54810d9438716167d6ee12037c292b0cd2.zip |
conf.php: add $package_commit_url
-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'], |