diff options
author | Mike Crute <mcrute@gmail.com> | 2011-02-24 14:25:56 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2011-02-24 14:25:56 -0500 |
commit | f23066ea23cc2346a366582450c542ff5d5586bc (patch) | |
tree | 7036527b5c7208f463333d37d07c49cbe48fda69 | |
parent | 587d504a5b529b9b9d8239fc058e833fe1788416 (diff) | |
download | hg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.tar.bz2 hg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.tar.xz hg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.zip |
Adding config stubs
-rw-r--r-- | config_stubs/hgssh.cfg | 50 | ||||
-rw-r--r-- | config_stubs/hgweb.cfg | 14 |
2 files changed, 64 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 | ||
diff --git a/config_stubs/hgweb.cfg b/config_stubs/hgweb.cfg new file mode 100644 index 0000000..cfdbabd --- /dev/null +++ b/config_stubs/hgweb.cfg | |||
@@ -0,0 +1,14 @@ | |||
1 | [web] | ||
2 | style = gitweb | ||
3 | push_ssl = false | ||
4 | allow_push = * | ||
5 | contact = Mike Crute <mcrute@gmail.com> | ||
6 | allow_archive = gz bz2 | ||
7 | baseurl = / | ||
8 | motd = Unless otherwise noted all code herein is under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>. Copyright to the repo contact. Questions? Contact <a href="mailto:mcrute@gmail.com">Mike Crute</a> | ||
9 | |||
10 | [collections] | ||
11 | /srv/hg/repos = /srv/hg/repos/ | ||
12 | |||
13 | [extensions] | ||
14 | hgext.highlight= | ||