appleboy / BitbucketServer2Gitea

A command line tool build with Golang to migrate a Bitbucket Server (Stash) Project to Gitea.

Home Page:https://developer.atlassian.com/server/bitbucket/rest/v815/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitbucketServer2Gitea

A command line tool build with Golang to migrate a Bitbucket Server (Data Center) Project to Gitea. See the V1 REST API.

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

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

bitbucketServer2Gitea repo --project-key AIA --repo-slug test \
  --target-owner admin --target-repo test

About

A command line tool build with Golang to migrate a Bitbucket Server (Stash) Project to Gitea.

https://developer.atlassian.com/server/bitbucket/rest/v815/

License:MIT License


Languages

Language:Go 94.4%Language:Makefile 5.6%