-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
27 lines (21 loc) · 875 Bytes
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# mirror_store is the location where all mirrors are stored.
# it is created if it doesn't exist.
# the mirrors are stored in a repo named after the name set above.
# The Path should end without a slash.
#mirror_store="/tmp/tmp.YGxnWmAoIw/mirror"
# set the git path
git_path=git
# active must contain all mirror configs that should be mirrored.
# the name doesn't need to be the repo name.
# names are separated by space.
# only characters allowed that can be used as bash variable
active=("gitmirror")
# the origin must start with the name specified above followed by
# _origin.
# test_origin for example would be mirrored if test is set as
# active.
gitmirror_origin="git@codeberg.org:FlorianKutzer/gitmirror.git"
# test_clone specifies the desination repos.
# repos are separated by space.
gitmirror_clones=("git@github.com:FlorianKutzer/gitmirror.git")