sourcegraph/dev/scaletesting/codehostcopy
Jean-Hadrien Chabran 18474e84e4
sct: enable to copy user repos instead of just orgs (#43739)
Co-authored-by: William Bezuidenhout <william.bezuidenhout@sourcegraph.com>
2022-11-04 17:01:39 +00:00
..
bitbucket scaletesting: add bitbucket client for codehost copy (#43343) 2022-10-26 14:53:23 +02: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 scripts: extract state into its own package (#43357) 2022-10-26 16:21:50 +02:00
config.example.cue sct: enable to copy user repos instead of just orgs (#43739) 2022-11-04 17:01:39 +00: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 sct: enable to copy user repos instead of just orgs (#43739) 2022-11-04 17:01:39 +00:00
gitlab.go go + golangci: update to go to 1.19.3 and golanci to 1.50.1 (#43747) 2022-11-02 15:08:25 +02:00
main.go scaletesting scripts: extract state into its own package (#43357) 2022-10-26 16:21:50 +02:00
README.md Run Prettier (#43525) 2022-10-27 09:02:53 +00:00
runner.go go + golangci: update to go to 1.19.3 and golanci to 1.50.1 (#43747) 2022-11-02 15:08:25 +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