Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/appleboy/BitbucketServer2Gitea
A command line tool build with Golang to migrate a Bitbucket Server (Stash) Project to Gitea.
https://github.com/appleboy/BitbucketServer2Gitea
bitbucket bitbucket-api-v1 bitbucket-server
Last synced: 3 months ago
JSON representation
A command line tool build with Golang to migrate a Bitbucket Server (Stash) Project to Gitea.
- Host: GitHub
- URL: https://github.com/appleboy/BitbucketServer2Gitea
- Owner: appleboy
- License: mit
- Created: 2023-12-08T15:37:40.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-03T06:08:47.000Z (7 months ago)
- Last Synced: 2024-04-14T09:45:22.419Z (7 months ago)
- Topics: bitbucket, bitbucket-api-v1, bitbucket-server
- Language: Go
- Homepage: https://developer.atlassian.com/server/bitbucket/rest/v815/
- Size: 114 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-gitea - BitbucketServer2Gitea - A command line tool build with Golang to migrate a Bitbucket Server (Stash) Project to Gitea. (Migration / Web Hosting)
README
# BitbucketServer2Gitea
A command line tool build with Golang to migrate a [Bitbucket Server](https://www.atlassian.com/software/bitbucket/enterprise) (Data Center) Project to Gitea. See the [V1 REST API](https://developer.atlassian.com/server/bitbucket/rest/v815/intro/#about).
## Requirements
The following software is required to run this tool:
* Gitea version: **1.21.3**
* Bitbucket Server version: **8.9.7**## Initial Setup
Setup the Gitea and Bitbucket config
```bash
bitbucketServer2Gitea config set bitbucket.server https://stash.example.com
bitbucketServer2Gitea config set bitbucket.username admin
bitbucketServer2Gitea config set bitbucket.token xxxxxxxxxxxxxx
bitbucketServer2Gitea config set gitea.server https://gitea.example.com
bitbucketServer2Gitea config set gitea.token xxxxxxxxxxxxxx
```## Migration Single Repository
```bash
bitbucketServer2Gitea repo --project-key AIA --repo-slug test \
--target-owner admin --target-repo test
```