aereal / migrate-gh-repo

migrate GitHub (incl. Enterprise) repositories with idempotent-like manner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migrate-gh-repo

The script to migrate repositories with above constraints:

  • labels and milestones are fully migrated to target repository
  • issues that refers source created on target repository

Run

# create config/default.cue; see Configuration section
go run ./

Configuration

  • Write your configuration to config/default.cue
  • The spec is config/spec.cue
  • refs. https://cuelang.org/

Caveats

  • all of assignees on source repository must have permission to triage issues on target repository
  • migration of ton of issues, labels, or milestones may cause excess of API rate limit
    • Currently only way to avoid it is update sleep duration by you
    • We have intention to resolve that issue on smart way but have no good idea; patches/suggestions are welcome

About

migrate GitHub (incl. Enterprise) repositories with idempotent-like manner


Languages

Language:Go 100.0%