diff options
author | Erich Eckner <git@eckner.net> | 2019-05-29 15:28:11 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-29 15:28:11 +0200 |
commit | 7a3ad858d96ddaf13d4664426301b10307e4688e (patch) | |
tree | 6cfb417e4c213b33d25db119d7e245f537d689a1 /gitolite-sync.conf | |
parent | 2fd966d1ce652f8bb71aa2ea0e6f313e06bab641 (diff) | |
download | gitolite-sync-7a3ad858d96ddaf13d4664426301b10307e4688e.tar.xz |
Makefile new
Diffstat (limited to 'gitolite-sync.conf')
-rw-r--r-- | gitolite-sync.conf | 13 |
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,' + ) +) |