sourcegraph/dev/scaletesting/codehostcopy
2022-10-24 17:12:00 +02:00
..
.gitignore Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
config.example.cue Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
config.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
github.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
gitlab.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
main.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
README.md Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
runner.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
state.go Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00

CodeHost Copy

A small tool to copy all repos from a given user on GitHub to GitLab or Bitbucket.

State is persisted in a SQLite database to enable to resume the copy if it was interrupted.

Usage

codehostcopy --config my-config.cue --state my-config.db

To get an example config, you can do:

codehostcopy example > my-config.cue