BitbucketServer2Gitea

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: MIT

README

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL