A command line tool build with Golang to migrate a Bitbucket Server (Data Center) Project to Gitea. See the V1 REST API.
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://stash.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