All Projects → MarcelSimon → MigrateGitlabToGogs

MarcelSimon / MigrateGitlabToGogs

Licence: BSD-2-Clause license
Migrate repositories from Gitlab to Gogs or Gitea

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to MigrateGitlabToGogs

gitlab to gitea
Gitlab to Gitea migration script.
Stars: ✭ 54 (+10.2%)
Mutual labels:  gitlab, migration, gitea
go-scm
Package scm provides a unified interface to multiple source code management systems.
Stars: ✭ 117 (+138.78%)
Mutual labels:  gitlab, gogs, gitea
Gitea
Git with a cup of tea, painless self-hosted git service
Stars: ✭ 27,320 (+55655.1%)
Mutual labels:  gitlab, gogs, gitea
Gigrator
Git repos migration tool which supports Github / Gitee / Gitlab / Gitea / Coding / Gogs / 腾讯工蜂.
Stars: ✭ 34 (-30.61%)
Mutual labels:  gitlab, gogs, gitea
Attribouter
A lightweight "about screen" library to allow quick but customizable attribution in Android apps.
Stars: ✭ 117 (+138.78%)
Mutual labels:  gitlab, gitea
tracboat
Trac to GitLab migration toolbox
Stars: ✭ 32 (-34.69%)
Mutual labels:  gitlab, migration
Git Webhook
使用 Python Flask + SQLAchemy + Celery + Redis + React 开发的用于迅速搭建并使用 WebHook 进行自动化部署和运维,支持 Github / GitLab / Gogs / GitOsc。
Stars: ✭ 1,439 (+2836.73%)
Mutual labels:  gitlab, gogs
list-of-tech-migrations
list of public tech migrations
Stars: ✭ 428 (+773.47%)
Mutual labels:  migration
OctoPrint-GitFiles
With this plugin, you can use a github/gitlab repository for keeping your OctoPrint Files collection up-to-date.
Stars: ✭ 28 (-42.86%)
Mutual labels:  gitlab
GitLabCLI
Cross platform GitLab CLI tool
Stars: ✭ 28 (-42.86%)
Mutual labels:  gitlab
YappyGitLab
A GitLab monitor bot for Discord
Stars: ✭ 51 (+4.08%)
Mutual labels:  gitlab
phpcs-gitlab
Gitlab Report for PHP_CodeSniffer (display the violations in the Gitlab CI/CD Code Quality Report)
Stars: ✭ 29 (-40.82%)
Mutual labels:  gitlab
modoboa-imap-migration
An extension to ease the migration between 2 IMAP servers using offlineimap
Stars: ✭ 14 (-71.43%)
Mutual labels:  migration
migrations
Migrations is a database migration tool that uses go's database/sql from the standard library
Stars: ✭ 17 (-65.31%)
Mutual labels:  migration
discord-key-bot
A bot for discord that accepts, announces, and gives out keys
Stars: ✭ 14 (-71.43%)
Mutual labels:  gogs
gitcolombo
🧬 Extract and analyze contributors info from git repos
Stars: ✭ 55 (+12.24%)
Mutual labels:  gitlab
Migrate2Postgres
Easily migrate from other DBMSs to PostgreSQL
Stars: ✭ 47 (-4.08%)
Mutual labels:  migration
couchmove
Java data migration tool for Couchbase
Stars: ✭ 36 (-26.53%)
Mutual labels:  migration
GogsThemes
An attempt to give some colors to amazing Gogs platform ..
Stars: ✭ 53 (+8.16%)
Mutual labels:  gogs
gitlab-ci-variables-cli
CLI tool to allow setting bulk project variables on Gitlab CI
Stars: ✭ 38 (-22.45%)
Mutual labels:  gitlab

Migration utility for moving from Gitlab to Gogs / Gitea

This tools provides an automated way to copy all repositories in a namespaces from Gitlab to Gogs / Gitea. All tags and branches are copied. Organizations in Gogs are supported as well.

Usage

Type python migrate_gitlab_to_gogs.py --help for usage information. It will print

usage: migrate_gitlab_to_gogs.py [-h] --source_namespace SOURCE_NAMESPACE
                                 [--add_to_private]
                                 [--add_to_organization organization_name]
                                 --source_repo SOURCE_REPO --target_repo
                                 TARGET_REPO [--no_confirm]

optional arguments:
  -h, --help            show this help message and exit
  --source_namespace SOURCE_NAMESPACE
                        The namespace in gitlab as it appears in URLs. For
                        example, given the repository address
                        http://mygitlab.com/harry/my-awesome-repo.git, it
                        shows that this repository lies within my personal
                        namespace "harry". Hence I would pass harry as
                        parameter.
  --add_to_private      If you want to add the repositories under your own
                        name, ie. not in any organisation, use this flag.
  --add_to_organization organization_name
                        If you want to add all the repositories to an
                        exisiting organisation, please pass the name to this
                        parameter. Organizations correspond to groups in
                        Gitlab. The name can be taken from the URL, for
                        example, if your organization is http://mygogs-
                        repo.com/org/my-awesome-organisation/dashboard then
                        pass my-awesome-organisation here
  --source_repo SOURCE_REPO
                        URL to your gitlab repo in the format
                        http://mygitlab.com/
  --target_repo TARGET_REPO
                        URL to your gogs / gitea repo in the format
                        http://mygogs.com/
  --no_confirm          Skip user confirmation of each single step

Requirements

This tools was written for Python 3 using the requests, json, subprocess, and argparse modules.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].