Skip to content

icepie/gitlab2gitea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 repo
  • All milestones
  • All labels
  • All issues

It skips creation if an item already exists.

Installation

go install github.com/icepie/gitlab2gitea@latest

Installing the tool from source code needs to have a recent version of Golang installed.

Usage

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

Options

Migrate repo, labels, issues and milestones from GitLab to Gitea.

Usage: gitlab2gitea --gitlabtoken GITLABTOKEN --gitlabproject GITLABPROJECT --giteatoken GITEATOKEN --giteaserver GITEASERVER

Options:
  --gitlabtoken GITLABTOKEN
                         token for GitLab API access
  --gitlabserver GITLABSERVER
                         GitLab server URL with a trailing slash
  --giteatoken GITEATOKEN
                         token for Gitea API access
  --giteaserver GITEASERVER
                         Gitea server URL
  --help, -h             display this help and exit

About

gitlab 2 gitea !

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published