99rgosse / gitlab2gitea

Migration tool from GitLab to Gitea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab2gitea Go Report Card

A command line tool build with Golang to migrate a GitLab project to Gitea.

It uses the exposed API of both systems to migrate following data of a project:

  • All open milestones
  • All labels
  • All open issues

It skips creation if an item already exists.

Installation

You need to have Golang installed, otherwise follow the guide at https://golang.org/doc/install.

go get github.com/cornelk/gitlab2gitea

Usage

./gitlab2gitea --gitlabserver https://gitlab.domain.tld/ --gitlabtoken 12345 \
--giteaserver https://gitea.domain.tld/ --giteatoken 54321 \
--gitlabproject group/project --giteaproject group/project

Options

Migrate labels, issues and milestones from GitLab to Gitea

Usage:
  gitlab2gitea [flags]

Flags:
      --config string          config file (default is $HOME/.gitlab2gitea.yaml)
      --giteaproject string    Gitea project name, use namespace/name. defaults to GitLab project name
      --giteaserver string     Gitea server URL
      --giteatoken string      token for Gitea API access
      --gitlabproject string   GitLab project name, use namespace/name
      --gitlabserver string    GitLab server URL with a trailing slash (default "https://gitlab.com/")
      --gitlabtoken string     token for GitLab API access
  -h, --help                   help for gitlab2gitea

Golang SDK Documentations

GitLab

Gitea

Dependencies

About

Migration tool from GitLab to Gitea

License:MIT License


Languages

Language:Go 100.0%