1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-10-18 20:00:08 +02:00
Backup all your repositories with Ease.
Go to file
2021-12-09 14:01:27 +01:00
.github/workflows correct github username 2021-12-09 14:01:27 +01:00
.gitignore added function to exclude repos 2021-12-02 18:43:39 +01:00
.goreleaser.yml new releaser config 2021-12-02 08:20:19 +01:00
docker-compose.yml Added Dockerfile & docker-compose 2021-12-09 12:19:56 +01:00
Dockerfile Added Dockerfile & docker-compose 2021-12-09 12:19:56 +01:00
go.mod upgraded libraries 2021-12-03 10:17:33 +01:00
go.sum upgraded libraries 2021-12-03 10:17:33 +01:00
LICENSE init 2021-05-30 23:04:17 +02:00
main.go added version, added exclude organizations 2021-12-03 21:34:46 +01:00
README.md added version, added exclude organizations 2021-12-03 21:34:46 +01:00
types.go added version, added exclude organizations 2021-12-03 21:34:46 +01:00

GICKUP

You can clone/mirror repositories from:

  • Github
  • Gitlab
  • Gitea
  • Gogs
  • Bitbucket

You can clone/mirror them to:

  • Gitlab
  • Gitea
  • Gogs
  • Local

Example Config

source:
  github:
    - token: blabla
      user: blabla
      url: bla.bla.com
      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
      exclude: # this excludes the repos foo and bar
        - foo
        - bar
      excludeorgs:
        - foo
        - bar
  gitea:
    - token: blabla
      user: blabla
      url: bla.bla.com
      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
      exclude: # this excludes the repos foo and bar
        - foo
        - bar
  gogs:
    - token: blabla
      user: blabla
      url: bla.bla.com
      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
      exclude: # this excludes the repos foo and bar
        - foo
        - bar
  gitlab:
    - token: blabla
      user: blabla
      url: bla.bla.com
      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
      exclude: # this excludes the repos foo and bar
        - foo
        - bar
  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
      exclude: # this excludes the repos foo and bar
        - foo
        - bar
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 .