Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Migrating from Bitbucket Server to GHEC - Default branch is not retained #1438

Copy link
Copy link
@lavanyanooka

Description

@lavanyanooka
Issue body actions

Description

I am doing performing repository migrations for a customer from Bitbucket server to GHEC-EMU using GEI bbs2gh tool.
For certain repositories, the default branch from the source repo is not correctly retained in the target repo.

For instance:

  • Source Repo in bitbucket server has develop branch as default branch
  • Migrate this repo using GEI bbs2gh tool
  • After migration, the target repo in GHEC has the master branch as default

Reproduction Steps

Migrate source repo in bitbucket to GHEC using the below cli command

gh bbs2gh migrate-repo --aws-bucket-name "{aws-bucket}" --bbs-server-url "{server-url}" --bbs-project "{bbs-project}" --bbs-repo "{bbs-repo}" --github-org "{github-org}" --github-repo "{github-repo}" --target-repo-visibility internal

After migration, check the default branch on Github and it does not match with the default branch on the Bitbucket server.

This is causing an issue in a 100% validation of the pre and post migration of the repositories that the customer is aiming for.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.