Skip to content

About

Web dashboard for migrating repositories from GitHub, GitLab and Bitbucket to GitHub Enterprise Cloud or Server.

Topics

Resources

Contributing

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

623 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Migration Toolkit

CI Release Coverage License: MIT

A self-hosted dashboard for moving repositories from GitHub, GitLab and Bitbucket into GitHub Enterprise. It does three things:

  • Profile. Inventory a source before you move anything: repositories, size, activity, the people who worked in them, and what needs attention.
  • Map. Decide who each source user and team is on GitHub, ahead of time, in one list or one CSV file.
  • Migrate. Start one repository or a batch. It imports, or it stops before importing anything and tells you which mappings are missing.

Supported routes

Source GitHub Enterprise Cloud GitHub Enterprise Server
GitHub.com and GitHub Enterprise Server Yes No
GitLab self-managed Yes Yes
GitLab.com Yes Yes
Bitbucket Data Center Yes Yes
Bitbucket Cloud Yes Yes

Every route has offline contract tests. Live end-to-end evidence differs by route; the route matrix lists what each one has been verified against.

Quick start

Run a local preview with Docker:

cp .env.example .env
docker compose up -d --build --wait

Open http://localhost:3000. The example configuration skips sign-in so you can try it on your own machine. Before anyone else can reach the dashboard, set GH_MIGRATE_ALLOW_UNAUTHENTICATED=false and choose a password in GH_MIGRATE_PASS.

Your first migration

  1. Connect your source and destination under Setup. Configure providers
  2. Profile the source and pick a repository to pilot. Profile
  3. Map people and teams. In Mappings, choose Export people to map, fill in the GitHub names, and Import CSV. Into GitHub Enterprise Cloud, people reclaim their history after the import through Send invitations. Map identities
  4. Migrate one repository, compare it with the source, then run the rest as a batch. Migrate

Moving Bitbucket Data Center to GitHub Enterprise Server needs an exporter and appliance access first: follow the Bitbucket Data Center pilot.

Documentation

Run migrations

Host the dashboard

Work on the code

Development

bun install
bun run dev
bun run verify

Schema changes require a fresh data directory.

License

MIT

About

Web dashboard for migrating repositories from GitHub, GitLab and Bitbucket to GitHub Enterprise Cloud or Server.

Topics

Resources

Contributing

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages