1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-10-18 13:48:07 +02:00
Backup all your repositories with Ease.
Go to file
2021-12-03 08:57:04 +01:00
.github/workflows added function to exclude repos 2021-12-02 18:43:39 +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
go.mod add ssh key if not in known_hosts 2021-12-03 07:34:08 +01:00
go.sum add ssh key if not in known_hosts 2021-12-03 07:34:08 +01:00
LICENSE
main.go start at 1, so we don't have a duplicate of repos 2021-12-03 08:57:04 +01:00
README.md includes "exclude" in the readme 2021-12-02 18:59:16 +01:00
types.go add ssh key if not in known_hosts 2021-12-03 07:34:08 +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
  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 .