anrichter / GitLabToGitHub

Command Line Tool to migrate GitLab Projects to GitHub Repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitLabToGitHub

Easy to use Command Line Tool to migrate GitLab Projects to GitHub Repositories.

Select a GitLab Group and a Project, give a name for the new Repository, decide if it is a Private one and let the tool do their work.

Features

  • Browse GitLab Groups / Projects
  • Migrates:
    • Git Repository
    • Users / Collaborators with configurable Username Mapping
    • Milestones
    • Issues
    • Issue Comments
    • Labels
  • Log manual rework you have to do after Migration
  • Platform independent through .NET Core

Limitiations

  • Migrated Issues are creatd by Access Token User
  • Migrated Issues are created at Migration time
  • Collaborators are created but can't assigned to Issues until thei accept the invitation as a collaborator
  • Can't migrate attachments like images

How to use

  • Install .NET Core 3.1.100 SDK
  • Create a GitLab Access Token with Scope api
  • Create a GitHub Access Token with Scope repo
  • Clone the Repository
  • Copy appsettings.json to appsettings.production.json and adjust it
  • dotnet run -c Release

Open Source Libraries

About

Command Line Tool to migrate GitLab Projects to GitHub Repositories

License:MIT License


Languages

Language:C# 100.0%