aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mars-attacks.org>2013-06-24 14:50:24 +0200
committerNicolas Vigier <boklm@mars-attacks.org>2013-06-24 14:50:24 +0200
commit4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540 (patch)
treecd0fe84c0fe14a185d1b6d99a500450b8f2409ab
parentac4a3dfca20b2847adc70b8c4068c2f6f7764e03 (diff)
downloadmgagit-4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540.tar
mgagit-4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540.tar.gz
mgagit-4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540.tar.bz2
mgagit-4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540.tar.xz
mgagit-4f5e3e3ee9aa37ce3cf5f5fd8f8d181c7b0a5540.zip
Update README
-rw-r--r--README45
1 files changed, 45 insertions, 0 deletions
diff --git a/README b/README
index 1b97967..5d2115b 100644
--- a/README
+++ b/README
@@ -1,2 +1,47 @@
mgagit is a tool used to manage Mageia git repositories.
+How it works
+------------
+
+mgagit takes :
+ - an ldap directory containing groups, and users with ssh keys
+ - repositories definitions
+
+And generate the corresponding gitolite configuration and keys directory.
+
+
+Available commands
+------------------
+
+- glconf : Print gitolite configuration
+- glrun : Update gitolite configuration
+
+
+Configuration
+-------------
+
+Configuration is done in the file /etc/mgagit.conf. The default
+configuration is available in file /usr/share/mgagit/config.
+
+The files are in YAML format.
+
+The following configuration options are available :
+ use_ldap: enable use of ldap to fetch user keys and groups
+ ldapserver: hostname of the ldap server
+ binddn: dn used to authenticate on the ldap server
+ bindpwfile: file containing the password used to authenticate
+ groupbase: the base used to search ldap groups
+ groupfilter: filter to search ldap groups
+ userbase: the base used to search ldap users
+ userfilter: filter to search ldap users
+ uid_username_re: regular expression to extract a username from ldap uid
+ group_re: regular expression to extract group name from cn
+ pubkey_dir: directory containing users ssh keys, used by gitolite
+ tmpl_dir: templates directory
+ gitolite_config: gitolite configuration file
+ repos_config: list of repos definition directories. Use something like
+ this to include a directory containing repos definitions :
+ - prefix: prefix in the repos tree
+ include_dir: path to the directory containing definitions
+ gl_template: template file used to define the repos
+