blob: 61c376cbe9328f4dfc340acb63e825ffa4350202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Example configuration file 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
|