mirror of
https://github.com/cooperspencer/gickup
synced 2025-11-09 16:58:41 +01:00
97 lines
3.3 KiB
YAML
97 lines
3.3 KiB
YAML
source:
|
|
github:
|
|
- token: blabla
|
|
user: blabla # the user you want to clone the repositories from.
|
|
# 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: bla # user is used to clone the repo with
|
|
password: bla
|
|
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
|
|
gitea:
|
|
- token: blabla
|
|
user: blabla # the user you want to clone the repositories from.
|
|
url: bla.bla.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: bla # user is used to clone the repo with
|
|
password: bla
|
|
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
|
|
gogs:
|
|
- token: blabla
|
|
user: blabla # the user you want to clone the repositories from.
|
|
url: bla.bla.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: bla # user is used to clone the repo with
|
|
password: bla
|
|
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
|
|
bitbucket:
|
|
- user: blabla # the user you want to clone the repositories from.
|
|
url: blabla
|
|
username: blabla # user is used to clone the repo with
|
|
password: blabla
|
|
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:
|
|
- foobar
|
|
destination:
|
|
gitea:
|
|
- token: blabla
|
|
url: bla.bla.com
|
|
gogs:
|
|
- token: blabla
|
|
url: bla.bla.com
|
|
gitlab:
|
|
- token: blabla
|
|
url: bla.bla.com
|
|
local:
|
|
- path: /some/path/gickup
|
|
|
|
cron: 0 22 * * * # optional
|
|
# https://crontab.guru/
|
|
|
|
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
|
|
maxage: 7 # keep logs for 7 days |