summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2011-02-24 14:25:56 -0500
committerMike Crute <mcrute@gmail.com>2011-02-24 14:25:56 -0500
commitf23066ea23cc2346a366582450c542ff5d5586bc (patch)
tree7036527b5c7208f463333d37d07c49cbe48fda69
parent587d504a5b529b9b9d8239fc058e833fe1788416 (diff)
downloadhg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.tar.bz2
hg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.tar.xz
hg_hosting-f23066ea23cc2346a366582450c542ff5d5586bc.zip
Adding config stubs
-rw-r--r--config_stubs/hgssh.cfg50
-rw-r--r--config_stubs/hgweb.cfg14
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]
5login_script = /srv/hg/validate-login.py
6lock_script = /srv/hg/lock-repo.py
7repo_path = /srv/hg/repos
8repo_user = hg
9
10; Defaults apply to everything below
11[DEFAULT]
12contact = mcrute
13read = mcrute
14write = mcrute
15
16; --------------------------------------------------------------------
17; Users
18; --------------------------------------------------------------------
19[user:mcrute]
20name = Mike Crute
21email = mcrute@gmail.com
22ssh_key = ssh-dss really-long-pubkey
23
24; --------------------------------------------------------------------
25; Repositories
26; --------------------------------------------------------------------
27[repo:repository/path]
28description = Repo description
29contact = mcrute
30write = mcrute,otheruser
31read = mcrute,otheruser
32
33;
34; Adornments default to no, several can be specified
35;
36
37; Generates brown "DEFUNCT" adornment
38defunct = yes
39
40; Generates green "MAINTAINED" adornment
41maintained = yes
42
43; Generates linked "MOVED" adornment
44moved_to = http://moved-to.com
45
46; Generates red "PRIVATE" adornment
47private = yes
48
49; Generates linked "FORK" adornment
50upstream = 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]
2style = gitweb
3push_ssl = false
4allow_push = *
5contact = Mike Crute <mcrute@gmail.com>
6allow_archive = gz bz2
7baseurl = /
8motd = 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]
14hgext.highlight=