diff options
Diffstat (limited to 'config_stubs/hgssh.cfg')
-rw-r--r-- | config_stubs/hgssh.cfg | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/config_stubs/hgssh.cfg b/config_stubs/hgssh.cfg new file mode 100644 index 0000000..04cad88 --- /dev/null +++ b/config_stubs/hgssh.cfg | |||
@@ -0,0 +1,50 @@ | |||
1 | ; -------------------------------------------------------------------- | ||
2 | ; Config | ||
3 | ; -------------------------------------------------------------------- | ||
4 | [system] | ||
5 | login_script = /srv/hg/validate-login.py | ||
6 | lock_script = /srv/hg/lock-repo.py | ||
7 | repo_path = /srv/hg/repos | ||
8 | repo_user = hg | ||
9 | |||
10 | ; Defaults apply to everything below | ||
11 | [DEFAULT] | ||
12 | contact = mcrute | ||
13 | read = mcrute | ||
14 | write = mcrute | ||
15 | |||
16 | ; -------------------------------------------------------------------- | ||
17 | ; Users | ||
18 | ; -------------------------------------------------------------------- | ||
19 | [user:mcrute] | ||
20 | name = Mike Crute | ||
21 | email = mcrute@gmail.com | ||
22 | ssh_key = ssh-dss really-long-pubkey | ||
23 | |||
24 | ; -------------------------------------------------------------------- | ||
25 | ; Repositories | ||
26 | ; -------------------------------------------------------------------- | ||
27 | [repo:repository/path] | ||
28 | description = Repo description | ||
29 | contact = mcrute | ||
30 | write = mcrute,otheruser | ||
31 | read = mcrute,otheruser | ||
32 | |||
33 | ; | ||
34 | ; Adornments default to no, several can be specified | ||
35 | ; | ||
36 | |||
37 | ; Generates brown "DEFUNCT" adornment | ||
38 | defunct = yes | ||
39 | |||
40 | ; Generates green "MAINTAINED" adornment | ||
41 | maintained = yes | ||
42 | |||
43 | ; Generates linked "MOVED" adornment | ||
44 | moved_to = http://moved-to.com | ||
45 | |||
46 | ; Generates red "PRIVATE" adornment | ||
47 | private = yes | ||
48 | |||
49 | ; Generates linked "FORK" adornment | ||
50 | upstream = http://upstream.com | ||