X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=blobdiff_plain;f=git-daemon%2Fchiark-urlmap;h=09e2a11fea5c425c1bdba5e3a5b771df32b48b39;hp=d3bb8761318dbdecc9a1cb78fbbcbf99a7c84f6f;hb=d36c5f7baf4f11c7d6765afac2f5fb9449b0e0a7;hpb=e9fec26ad6b6fdbdf77a2422f7b0bdf2eeb5e07b diff --git a/git-daemon/chiark-urlmap b/git-daemon/chiark-urlmap index d3bb876..09e2a11 100644 --- a/git-daemon/chiark-urlmap +++ b/git-daemon/chiark-urlmap @@ -1,27 +1,5 @@ -# chiark's configuration for the userv git daemon. -# -# This was written by Tony Finch -# You may do anything with it, at your own risk. -# http://creativecommons.org/publicdomain/zero/1.0/ -if ($host eq 'git.chiark.greenend.org.uk') { - if ($path =~ m{^~([^/]*)/(.*)}) { - $user = $1; - $dir = 'public-git'; - $repo = $2; - } else { - $user = 'webmaster'; - $dir = '/u2/git-repos'; - $repo = $path; - } -} elsif (m{^git://cabal[.]greenend[.]org[.]uk/~([^/]*)/(.*)$}) { - $user = $1; - $dir = 'cabal-git'; - $repo = $2; -} elsif ($host eq 'dotat.at') { - $user = 'fanf'; - $dir = 'public-git'; - $repo = $path; -} - -# end +single-user dotat.at fanf dotat-git +multi-user git.chiark.greenend.org.uk public-git +multi-user cabal.greenend.org.uk cabal-git +single-user git.chiark.greenend.org.uk webmaster /u2/git-repos