2021-12-09 17:56:55 +01:00
source :
github :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# alternatively, specify token in a file, relative to current working directory when executed.
# token_file: token.txt
2021-12-15 07:09:05 +01:00
user : some-user # the user you want to clone the repositories from.
2021-12-15 06:56:35 +01:00
# if you want to get everything from your user, leave out the user parameter and just use the token.
# for the clone process, either use:
# - username + password
# - sshkey
# - token
2021-12-15 07:09:05 +01:00
username : your-user # user is used to clone the repo with
password : your-password
2021-12-09 17:56:55 +01:00
ssh : true # can be true or false
sshkey : /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-15 06:56:35 +01:00
exclude : # this excludes the repos "foo" and "bar"
2021-12-09 17:56:55 +01:00
- foo
- bar
2021-12-15 06:56:35 +01:00
include : # this includes the repo "foobar"
2021-12-13 11:53:20 +01:00
- foobar
2021-12-15 06:56:35 +01:00
excludeorgs : # this excludes repos from the organizations "foo" and "bar"
2021-12-09 17:56:55 +01:00
- foo
- bar
2022-01-29 15:44:42 +01:00
includeorgs : # this includes repos from the organizations "foo1" and "bar1"
- foo1
- bar1
2021-12-29 18:27:19 +01:00
wiki : true # includes wiki too
2021-12-09 17:56:55 +01:00
gitea :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
user : some-user # the user you want to clone the repositories from.
url : http(s)://url-to-gitea # if empty, it uses https://gitea.com
2021-12-15 06:56:35 +01:00
# if you want to get everything from your user, leave out the user parameter and just use the token.
# for the clone process, either use:
# - username + password
# - sshkey
# - token
2021-12-15 07:09:05 +01:00
username : your-user # user is used to clone the repo with
password : your-password
2021-12-09 17:56:55 +01:00
ssh : true # can be true or false
sshkey : /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-19 23:42:38 +01:00
exclude : # this excludes the repos "foo" and "bar"
- foo
- bar
2021-12-15 06:56:35 +01:00
include : # this includes the repo "foobar"
- foobar
excludeorgs : # this excludes repos from the organizations "foo" and "bar"
2021-12-09 17:56:55 +01:00
- foo
- bar
2022-01-29 15:44:42 +01:00
includeorgs : # this includes repos from the organizations "foo1" and "bar1"
- foo1
- bar1
2021-12-29 18:27:19 +01:00
wiki : true # includes wiki too
2021-12-09 17:56:55 +01:00
gogs :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
user : some-user # the user you want to clone the repositories from.
url : http(s)://url-to-gogs # no default value
# if you want to get everything from your user, leave out the user parameter and just use the token.
# for the clone process, either use:
# - username + password
# - sshkey
# - token
username : your-user # user is used to clone the repo with
password : your-password
ssh : true # can be true or false
sshkey : /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
exclude : # this excludes the repos "foo" and "bar"
- foo
- bar
include : # this includes the repo "foobar"
- foobar
excludeorgs : # this excludes repos from the organizations "foo" and "bar"
- foo
- bar
2022-01-29 15:44:42 +01:00
includeorgs : # this includes repos from the organizations "foo1" and "bar1"
- foo1
- bar1
2021-12-29 18:27:19 +01:00
wiki : true # includes wiki too
2021-12-15 07:09:05 +01:00
gitlab :
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
user : some-user # the user you want to clone the repositories from.
url : http(s)://url-to-gitlab # if empty, it uses https://gitlab.com
# if you want to get everything from your user, leave out the user parameter and just use the token.
# for the clone process, either use:
# - username + password
# - sshkey
# - token
username : your-user # user is used to clone the repo with
password : your-password
ssh : true # can be true or false
sshkey : /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
exclude : # this excludes the repos "foo" and "bar"
- foo
- bar
2021-12-15 06:56:35 +01:00
include : # this includes the repo "foobar"
2021-12-13 11:53:20 +01:00
- foobar
2021-12-15 06:56:35 +01:00
excludeorgs : # this excludes repos from the organizations "foo" and "bar"
2021-12-09 17:56:55 +01:00
- foo
- bar
2022-01-29 15:44:42 +01:00
includeorgs : # this includes repos from the organizations "foo1" and "bar1"
- foo1
- bar1
2021-12-29 18:27:19 +01:00
wiki : true # includes wiki too
2021-12-09 17:56:55 +01:00
bitbucket :
2021-12-15 07:09:05 +01:00
- user : some-user # the user you want to clone the repositories from.
url : http(s)://url-to-bitbucket # if empty, it uses https://bitbucket.org
username : your-user # user is used to clone the repo with
password : your-password
2021-12-09 17:56:55 +01:00
ssh : true # can be true or false
sshkey : /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
exclude : # this excludes the repos foo and bar
- foo
- bar
2021-12-13 11:53:20 +01:00
include :
- foobar
2021-12-09 17:56:55 +01:00
destination :
gitea :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
url : http(s)://url-to-gitea
2021-12-09 17:56:55 +01:00
gogs :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
url : http(s)://url-to-gogs
2021-12-09 17:56:55 +01:00
gitlab :
2021-12-15 07:09:05 +01:00
- token : some-token
2021-12-29 07:49:02 +01:00
# token_file: token.txt # alternatively, specify token in a file
2021-12-15 07:09:05 +01:00
url : http(s)://url-to-gitlab
2021-12-09 17:56:55 +01:00
local :
2021-12-13 08:15:48 +01:00
- path : /some/path/gickup
2021-12-16 17:22:44 +01:00
structured : true # checks repos out like hostersite/user|organization/repo
2021-12-13 08:15:48 +01:00
2021-12-15 06:56:35 +01:00
cron : 0 22 * * * # optional
# https://crontab.guru/
2021-12-13 08:15:48 +01:00
2021-12-15 06:56:35 +01:00
log : # optional
timeformat : 2006-01-02 15:04:05 # you can use a custom time format, use https://yourbasic.org/golang/format-parse-string-time-date-example/ to check how date formats work in go
file-logging : # optional
dir : log # directory to log into
file : gickup.log # file to log into
2021-12-19 23:42:38 +01:00
maxage : 7 # keep logs for 7 days
2021-12-29 07:31:19 +01:00
metrics :
prometheus :
endpoint : /metrics
2021-12-29 08:42:42 +01:00
listen_addr : ":6178" # default listens on port 6178 on all IPs.