summaryrefslogtreecommitdiff
path: root/gitolite-sync.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'gitolite-sync.conf.in')
-rw-r--r--gitolite-sync.conf.in20
1 files changed, 4 insertions, 16 deletions
diff --git a/gitolite-sync.conf.in b/gitolite-sync.conf.in
index 3ba06be..0fd7de9 100644
--- a/gitolite-sync.conf.in
+++ b/gitolite-sync.conf.in
@@ -1,19 +1,7 @@
#!/bin/bash
-# this regex must match the to-be-synchronized remotes (or their url)
-remote_regex='[@.]eckner\.net:'
+# these remotes will be synced
+sync_remotes=('ecknernet')
-# these directories contain the to-be-synchronized repositories
-repository_dirs=(
- $(
- getent passwd #GITUSER# \
- | cut -d: -f6 \
- | sed 's,$,/repositories,'
- )
-)
-
-# name and path of default remote
-default_remote_name='ecknernet'
-default_remote_path_substitution='
- s#^'"${repository_dirs[0]}"'#gitolite@eckner.net:#
-'
+# these remotes will be created, if they do not yet exist
+default_remotes['ecknernet']='gitolite@git.eckner.net:'