Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Migrating from Bitbucket to GitHub Enterprise Server #1209

Open
poerty opened this issue Jan 17, 2024 · 2 comments
Open

Support for Migrating from Bitbucket to GitHub Enterprise Server #1209

poerty opened this issue Jan 17, 2024 · 2 comments

Comments

@poerty
Copy link

poerty commented Jan 17, 2024

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

@timrogers
Copy link
Contributor

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.

@poerty
Copy link
Author

poerty commented Jan 19, 2024

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. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants