From f23066ea23cc2346a366582450c542ff5d5586bc Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Thu, 24 Feb 2011 14:25:56 -0500 Subject: Adding config stubs --- config_stubs/hgssh.cfg | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ config_stubs/hgweb.cfg | 14 ++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 config_stubs/hgssh.cfg create mode 100644 config_stubs/hgweb.cfg 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 @@ +; -------------------------------------------------------------------- +; Config +; -------------------------------------------------------------------- +[system] +login_script = /srv/hg/validate-login.py +lock_script = /srv/hg/lock-repo.py +repo_path = /srv/hg/repos +repo_user = hg + +; Defaults apply to everything below +[DEFAULT] +contact = mcrute +read = mcrute +write = mcrute + +; -------------------------------------------------------------------- +; Users +; -------------------------------------------------------------------- +[user:mcrute] +name = Mike Crute +email = mcrute@gmail.com +ssh_key = ssh-dss really-long-pubkey + +; -------------------------------------------------------------------- +; Repositories +; -------------------------------------------------------------------- +[repo:repository/path] +description = Repo description +contact = mcrute +write = mcrute,otheruser +read = mcrute,otheruser + +; +; Adornments default to no, several can be specified +; + +; Generates brown "DEFUNCT" adornment +defunct = yes + +; Generates green "MAINTAINED" adornment +maintained = yes + +; Generates linked "MOVED" adornment +moved_to = http://moved-to.com + +; Generates red "PRIVATE" adornment +private = yes + +; Generates linked "FORK" adornment +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 @@ +[web] +style = gitweb +push_ssl = false +allow_push = * +contact = Mike Crute +allow_archive = gz bz2 +baseurl = / +motd = Unless otherwise noted all code herein is under the MIT license. Copyright to the repo contact. Questions? Contact Mike Crute + +[collections] +/srv/hg/repos = /srv/hg/repos/ + +[extensions] +hgext.highlight= -- cgit v1.2.3