summaryrefslogtreecommitdiff
path: root/gitolite-sync.conf
diff options
context:
space:
mode:
Diffstat (limited to 'gitolite-sync.conf')
-rw-r--r--gitolite-sync.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/gitolite-sync.conf b/gitolite-sync.conf
new file mode 100644
index 0000000..240ec0c
--- /dev/null
+++ b/gitolite-sync.conf
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# this regex must match the to-be-synchronized remotes (or their url)
+remote_regex='[@.]eckner\.net:'
+
+# these directories contain the to-be-synchronized repositories
+repository_dirs=(
+ $(
+ getent passwd #GITUSER# \
+ | cut -d: -f6 \
+ | sed 's,$,/repositories,'
+ )
+)