Skip to content

Bitbucket cloud importing #1333

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

Open
calebAtIspot opened this issue Apr 23, 2025 · 3 comments
Open

Bitbucket cloud importing #1333

calebAtIspot opened this issue Apr 23, 2025 · 3 comments

Comments

@calebAtIspot
Copy link

Description

We are investigating the possibility of migrating hundreds of Bitbucket cloud repos to Github. I saw that you have a bitbucket server importer, so I'm wondering why not a bitbucket cloud importer? They are pretty similar right? I'm curious if you already tried to do a cloud importer and ran into an issue.

I'm also wondering if you're open to a PR adding cloud importing functionality.

Third question, I'm wondering if bitbucket cloud importing would be better off as a separate extension or a refactoring of the current bitbucket extension

@dylan-smith
Copy link
Collaborator

dylan-smith commented Apr 23, 2025

BitBucket Server and BitBucket Cloud are actually significantly different. They started their lives as separate products that were subsequently renamed to BitBucket. The API's are very different. And specifically for the GitHub migration tooling, BitBucket Cloud doesn't support the generation of migration archives which is what the migration process from BBS relies on.

@calebAtIspot
Copy link
Author

calebAtIspot commented Apr 23, 2025

Yeah, I was just looking into that and I saw that bitbucket cloud doesn't have a migration endpoint, the API's are different

https://github.com/github/gh-gei/blob/main/src/Octoshift/Services/BbsApi.cs#L59C48-L59C57
https://confluence.atlassian.com/bitbucketserver078/exporting-1037994732.html
https://api.bitbucket.org/2.0/migration/exports/preview

Would you be open to a PR adding a bitbucket cloud importer extension?

@ArinGhazarian
Copy link
Contributor

ArinGhazarian commented Apr 23, 2025

👋 @calebAtIspot,

Would you be open to a PR adding a bitbucket cloud importer extension?

It won't work as you expect it to. The gh-gei CLI is basically calling the GEI's backend via GraphQL so in order for it to work it needs to be added to the backend.

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