aboutsummaryrefslogtreecommitdiffstats
path: root/mgagit.conf
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mars-attacks.org>2013-07-15 18:18:33 +0200
committerNicolas Vigier <boklm@mars-attacks.org>2013-07-15 18:18:33 +0200
commit852b1688fbf5129d0e365586b6d87a59fe31ba29 (patch)
tree8084da4d1af3a09cdce5d28dd8c8f8efd811d78d /mgagit.conf
parent510d51e76a470039c11f9a20b8a2e4ae3dce1bb5 (diff)
downloadmgagit-852b1688fbf5129d0e365586b6d87a59fe31ba29.tar
mgagit-852b1688fbf5129d0e365586b6d87a59fe31ba29.tar.gz
mgagit-852b1688fbf5129d0e365586b6d87a59fe31ba29.tar.bz2
mgagit-852b1688fbf5129d0e365586b6d87a59fe31ba29.tar.xz
mgagit-852b1688fbf5129d0e365586b6d87a59fe31ba29.zip
In repos_config, allow giving a git_url instead of a directory path
The git url will be cloned automatically (if target directory does not exist), or pulled automatically.
Diffstat (limited to 'mgagit.conf')
-rw-r--r--mgagit.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mgagit.conf b/mgagit.conf
index 0db3174..dbc42d5 100644
--- a/mgagit.conf
+++ b/mgagit.conf
@@ -2,7 +2,8 @@
use_ldap: no
gitolite_config: /var/lib/git/.gitolite/conf/gitolite.conf
pubkey_dir: /home/boklm/.gitolite/keydir
+repodef_dir: /var/lib/git/repos-config
repos_config:
- prefix: software
- include_dir: /var/lib/git/repodef/software
+ git_url: git://git.mageia.org/infrastructure/repositories/software.git
gl_template: soft_repo