summaryrefslogtreecommitdiff
path: root/usr/local/sbin/newrepo
diff options
context:
space:
mode:
authorroot <root@piny.svcs.cs.pdx.edu>2009-09-06 05:05:26 -0700
committerroot <root@piny.svcs.cs.pdx.edu>2009-09-06 05:05:26 -0700
commit336a94796ade82bc7c7f5969a4a5fcfb3d5761de (patch)
treeb3ebff5249585e2c1630b3210de7bee68497c5af /usr/local/sbin/newrepo
parent814e7256e88a1e49e1a9f6d87b809f51f92317a5 (diff)
downloadpiny-code-336a94796ade82bc7c7f5969a4a5fcfb3d5761de.tar.gz
piny-code-336a94796ade82bc7c7f5969a4a5fcfb3d5761de.zip
Switching Ikiwiki historyurl and diffurl over to cgit.
Diffstat (limited to 'usr/local/sbin/newrepo')
-rwxr-xr-xusr/local/sbin/newrepo4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/newrepo b/usr/local/sbin/newrepo
index 1545f48..1493a02 100755
--- a/usr/local/sbin/newrepo
+++ b/usr/local/sbin/newrepo
@@ -94,8 +94,8 @@ use IkiWiki::Setup::Standard {
destdir => \'/srv/www/piny.svcs.cs.pdx.edu/' . $reponame . '\', # PINY
url => \'http://piny.svcs.cs.pdx.edu/' . $reponame . '\', # PINY
cgiurl => \'https://cgi.piny.svcs.cs.pdx.edu/repos/' . $reponame . '/ikiwiki.cgi\', # PINY
- historyurl => \'https://cgi.piny.svcs.cs.pdx.edu/gitweb.cgi?p=' . $reponame . '.git;a=history;f=[[file]]\', # PINY
- diffurl => \'https://cgi.piny.svcs.cs.pdx.edu/gitweb.cgi?p=' . $reponame . ';a=blobdiff;f=doc/[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]\', # PINY
+ historyurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgi-bin/cgit.cgi/' . $reponame . '/log/[[file]]\', # PINY
+ diffurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgi-bin/cgit.cgi/' . $reponame . '/diff/?id=[[sha1_commit]]\', # PINY
templatedir => "/srv/templates",
underlaydir => "/etc/ikiwiki/share/underlay",