github / github/gh-gei

`bbs2gh migrate-repo --archive-url` example

Open
#1,504 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
478
Forks
146
Avg merge
7d 21h
Merged PRs (30d)
2

Description

I am currently working on a Bitbucket Server migration where the export archives are uploaded from the BBS to an Azure Storage account. I am trying to perform the migration with the following command:

```bash
gh bbs2gh migrate-repo
--github-org "gh-org"
--github-repo "gh-repo"
--github-pat ***
--bbs-server-url "https://bbs.server.com"
--bbs-project "bbs-project"
--bbs-repo "bbs-repo"
--archive-url "https://storage.blob.core.windows.net/archives/Bitbucket_export_123.tar"
--azure-storage-connection-string ***
--target-repo-visibility "private"
--verbose
```

But I am getting the following error:

```
Git archive URL returned a HTTP 409 response. Please make sure that the URL is valid and that the file is accessible","repositoryName":"gh-repo"
```

Any idea how to setup the `--archive-url` properly?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.