gitlabtogitea

command module
v0.0.0-...-76a5aa9 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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