1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-10-19 02:08:06 +02:00
Backup all your repositories with Ease.
Go to file
2021-12-02 06:52:14 +01:00
.github/workflows indentations... 2021-12-02 06:52:14 +01:00
.gitignore init 2021-05-30 23:04:17 +02:00
go.mod updated dependencies 2021-10-11 14:33:15 +02:00
go.sum updated dependencies 2021-10-11 14:33:15 +02:00
LICENSE init 2021-05-30 23:04:17 +02:00
main.go updated dependencies 2021-10-11 14:33:15 +02:00
README.md add bitbucket to readme 2021-06-01 21:47:48 +02:00
types.go added bitbucket for the clone #3 2021-06-01 21:43:25 +02: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
  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
  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
  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
  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
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 .