A command line tool build with Golang to migrate a Bitbucket Server (Data Center) Project to Gitea. See the V1 REST API.
The following software is required to run this tool:
- Gitea version: 1.21.3
- Bitbucket Server version: 8.9.7
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
bitbucketServer2Gitea migrate --project-key AIA --repo-slug test \
--target-owner admin --target-repo test