github / gh-gei

Migration CLI for GitHub to GitHub migrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Migrating from Bitbucket to GitHub Enterprise Server

poerty opened this issue · comments

Description

Hello! We are in the process of migrating thousands of repositories from Bitbucket to GitHub Enterprise Cloud. However, due to legal and security reasons, some repositories need to be transferred to GitHub Enterprise Server.

Currently, in bbs2gh, the gh CLI only supports GitHub Enterprise Cloud and github.com as targets.
Is it possible to also include support for GitHub Enterprise Server?

It seems feasible to call the GraphQL API in GitHub Enterprise Server, but it would be really helpful if gh-gei could support this.

Ideal solution
Add support for a --ghes-api-url option in the gh bbs2gh migrate-repo operation.
This might be related to the following code: https://github.com/github/gh-gei/blob/main/src/bbs2gh/Commands/MigrateRepo/MigrateRepoCommand.cs#L215

Hi there 👋 We would like to support migrations to GitHub Enterprise Server (GHES) with GitHub Enterprise Importer (bbs2gh), but this isn't supported today, and it isn't something that we'll be adding in the next 6 months.

The changes to the CLI themselves would be simple - as you point out! - but we need to also make changes to GitHub Enterprise Server itself so it can handle and import the data.

GitHub does have other options for migrations from Bitbucket Server to GHES which you might want to consider.

Hi there 👋 We would like to support migrations to GitHub Enterprise Server (GHES) with GitHub Enterprise Importer (bbs2gh), but this isn't supported today, and it isn't something that we'll be adding in the next 6 months.

The changes to the CLI themselves would be simple - as you point out! - but we need to also make changes to GitHub Enterprise Server itself so it can handle and import the data.

GitHub does have other options for migrations from Bitbucket Server to GHES which you might want to consider.

Thank you for the detailed explanation. I wasn't aware of the specific behaviors of GitHub Enterprise Server, especially how they differ from the cloud version.

I will explore the migration options you mentioned. 👍