sourcegraph/dev/scaletesting/codehostcopy
2024-05-16 15:51:16 +01:00
..
bitbucket bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +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 logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +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 logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
github.go [chore] Use consistent go-github versioning (#57391) 2023-10-06 10:48:18 +02:00
gitlab.go scaletesting: codehostcopy: retryable improvements (#45987) 2022-12-28 14:25:14 +00:00
main.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
README.md Run Prettier (#43525) 2022-10-27 09:02:53 +00:00
runner.go Replace all traditional for-loops (#60988) 2024-03-11 16:05:47 +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