Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.47 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.47 KB

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