1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-11-08 12:09:18 +01:00
gickup/README.md

93 lines
2.0 KiB
Markdown
Raw Normal View History

2021-05-30 23:04:17 +02:00
# GICKUP
You can clone/mirror repositories from:
- Github
- Gitlab
- Gitea
- Gogs
2021-06-01 21:47:48 +02:00
- Bitbucket
2021-05-30 23:04:17 +02:00
You can clone/mirror them to:
- Gitlab
- Gitea
- Gogs
- Local
## Example Config
```yaml
source:
github:
- token: blabla
user: blabla
url: bla.bla.com
2021-05-31 23:15:54 +02:00
username: bla
password: bla
ssh: true # can be true or false
sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-02 18:59:16 +01:00
exclude: # this excludes the repos foo and bar
- foo
- bar
excludeorgs:
- foo
- bar
2021-05-30 23:04:17 +02:00
gitea:
- token: blabla
user: blabla
url: bla.bla.com
2021-05-31 23:15:54 +02:00
username: bla
password: bla
ssh: true # can be true or false
sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-02 18:59:16 +01:00
exclude: # this excludes the repos foo and bar
- foo
- bar
2021-05-30 23:04:17 +02:00
gogs:
- token: blabla
user: blabla
url: bla.bla.com
2021-05-31 23:15:54 +02:00
username: bla
password: bla
ssh: true # can be true or false
sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-02 18:59:16 +01:00
exclude: # this excludes the repos foo and bar
- foo
- bar
2021-05-30 23:04:17 +02:00
gitlab:
- token: blabla
user: blabla
url: bla.bla.com
2021-05-31 23:15:54 +02:00
username: bla
password: bla
ssh: true # can be true or false
sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-02 18:59:16 +01:00
exclude: # this excludes the repos foo and bar
- foo
- bar
2021-06-01 21:43:25 +02:00
bitbucket:
- user: blabla
url: blabla
username: blabla
password: blabla
ssh: true # can be true or false
sshkey: /path/to/key # if empty, it uses your home directories' .ssh/id_rsa
2021-12-02 18:59:16 +01:00
exclude: # this excludes the repos foo and bar
- foo
- bar
2021-05-30 23:04:17 +02:00
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
```
## How to run
`./gickup path-to-config.yml`
## Compile
`go build .`