Gitlab to Gitea migration script. Moved to Github! https://github.com/h44z/gitlab_to_gitea
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
h44z ace17a681b
„README.md“ ändern
3 years ago
.gitignore first commit 5 years ago
LICENSE first commit 5 years ago
README.md „README.md“ ändern 3 years ago
gitea_import_actions.py Add comment 5 years ago
migrate.py Fix regex 3 years ago
requirements.txt add requirements.txt 4 years ago

README.md

Gitlab to Gitea migration script.

This script uses the Gitlab and Gitea API's to migrate all data from Gitlab to Gitea.

This script support migrating the following data:

  • Repositories & Wiki (fork status is lost)
  • Milestones
  • Labels
  • Issues (no comments)
  • Users (no profile pictures)
  • Groups
  • Public SSH keys

Tested with Gitlab Version 13.0.6 and Gitea Version 1.11.6.

Usage

Change items in the config section of the script.

Install all dependencies via python -m pip install -r requirements.txt and use python3 to execute the script.

How to use with venv

To keep your local system clean, it might be helpful to store all Python dependencies in one folder. Python provides a virtual environment package which can be used to accomplish this task.

python3 -m venv migration-env
source migration-env/bin/activate
python3 -m pip install -r requirements.txt

Then start the migration script python3 migrate.py.