diff options
author | root <root@piny.svcs.cs.pdx.edu> | 2009-09-07 00:28:08 -0700 |
---|---|---|
committer | root <root@piny.svcs.cs.pdx.edu> | 2009-09-07 00:28:08 -0700 |
commit | 8f57b985bf4057fdde27c7e7325b74da2f22a267 (patch) | |
tree | 7685b3b5357fd37cf6383783c0fbce91f2df5aaf /usr/local/sbin/newrepo | |
parent | 38b41fd6e92e44a7e4561fdffadf6f6ff8054bdc (diff) | |
download | piny-code-8f57b985bf4057fdde27c7e7325b74da2f22a267.tar.gz piny-code-8f57b985bf4057fdde27c7e7325b74da2f22a267.zip |
Moving /cgi-bin/cgit.cgi/ to /cgit/
Diffstat (limited to 'usr/local/sbin/newrepo')
-rwxr-xr-x | usr/local/sbin/newrepo | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/sbin/newrepo b/usr/local/sbin/newrepo index 1493a02..7c7539b 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/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 + historyurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgit/' . $reponame . '/log/[[file]]\', # PINY + diffurl => \'https://cgi.piny.svcs.cs.pdx.edu/cgit/' . $reponame . '/diff/?id=[[sha1_commit]]\', # PINY templatedir => "/srv/templates", underlaydir => "/etc/ikiwiki/share/underlay", @@ -224,3 +224,6 @@ system( "/bin/mv $cgitrctempfile /etc/cgitrepos" ); # This is marginally racy, b # COMPILE system( "/usr/bin/sudo -u ikiwiki-$reponame /usr/bin/ikiwiki --setup /etc/ikiwiki/piny/$reponame.setup | grep -v 'successfully generated'" ); + +print( "Web interface: http://piny.svcs.cs.pdx.edu/$reponame/\n" ); +print( "Repo information: https://cgi.piny.svcs.cs.pdx.edu/cgit/$reponame/\n" ); |