sourcegraph/dev/scaletesting/codehostcopy
2023-01-31 16:28:43 +01:00
..
bitbucket Housekeeping: Rename variables to avoid collisions with packages (#47179) 2023-01-31 16:28:43 +01:00
.gitignore Add a script to copy repositories from one codehost to another (#43349) 2022-10-24 17:12:00 +02:00
bitbucket.go scaletesting: use config path in bitbucket copy (#46220) 2023-01-09 10:39:30 +02:00
BUILD.bazel bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
config.example.cue scaletesting: codehostcopy: GitLab tweaks, concurrency bump, reuse origin (#45790) 2022-12-21 14:03:13 +00:00
config.go scaletesting: codehostcopy: GitLab tweaks, concurrency bump, reuse origin (#45790) 2022-12-21 14:03:13 +00:00
dummy.go scaletesting: create code hosts and add cmd (#43508) 2022-12-16 17:16:30 +00:00
github.go scaletesting: create code hosts and add cmd (#43508) 2022-12-16 17:16:30 +00:00
gitlab.go scaletesting: codehostcopy: retryable improvements (#45987) 2022-12-28 14:25:14 +00:00
main.go scaletesting: codehostcopy: GitLab tweaks, concurrency bump, reuse origin (#45790) 2022-12-21 14:03:13 +00:00
README.md Run Prettier (#43525) 2022-10-27 09:02:53 +00:00
runner.go scaletesitng: respect limit when listing repos (#46211) 2023-01-10 19:14:58 +01: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