diff options
Diffstat (limited to 'git-daemon/chiark-urlmap')
-rw-r--r-- | git-daemon/chiark-urlmap | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/git-daemon/chiark-urlmap b/git-daemon/chiark-urlmap new file mode 100644 index 0000000..d3bb876 --- /dev/null +++ b/git-daemon/chiark-urlmap @@ -0,0 +1,27 @@ +# chiark's configuration for the userv git daemon. +# +# This was written by Tony Finch <dot@dotat.at> +# 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 |