Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h44z/gitlab_to_gitea
Gitlab to Gitea migration script.
https://github.com/h44z/gitlab_to_gitea
gitea gitlab migration python
Last synced: 14 days ago
JSON representation
Gitlab to Gitea migration script.
- Host: GitHub
- URL: https://github.com/h44z/gitlab_to_gitea
- Owner: h44z
- License: mit
- Created: 2018-12-25T09:24:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-11T07:15:04.000Z (7 months ago)
- Last Synced: 2025-01-17T04:07:48.379Z (21 days ago)
- Topics: gitea, gitlab, migration, python
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 115
- Watchers: 10
- Forks: 41
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 keysTested 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.```bash
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`.