All Projects → k8scat → Gigrator

k8scat / Gigrator

Licence: MIT license
Git repos migration tool which supports Github / Gitee / Gitlab / Gitea / Coding / Gogs / 腾讯工蜂.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gigrator

MigrateGitlabToGogs
Migrate repositories from Gitlab to Gogs or Gitea
Stars: ✭ 49 (+44.12%)
Mutual labels:  gitlab, gogs, gitea
Gitea
Git with a cup of tea, painless self-hosted git service
Stars: ✭ 27,320 (+80252.94%)
Mutual labels:  gitlab, gogs, gitea
go-scm
Package scm provides a unified interface to multiple source code management systems.
Stars: ✭ 117 (+244.12%)
Mutual labels:  gitlab, gogs, gitea
gitlab to gitea
Gitlab to Gitea migration script.
Stars: ✭ 54 (+58.82%)
Mutual labels:  gitlab, gitea
Git Webhook
使用 Python Flask + SQLAchemy + Celery + Redis + React 开发的用于迅速搭建并使用 WebHook 进行自动化部署和运维,支持 Github / GitLab / Gogs / GitOsc。
Stars: ✭ 1,439 (+4132.35%)
Mutual labels:  gitlab, gogs
Webhookit
Simple git webhook cli tool for automation tasks, bind git webhook to action.
Stars: ✭ 177 (+420.59%)
Mutual labels:  gitlab, coding
Attribouter
A lightweight "about screen" library to allow quick but customizable attribution in Android apps.
Stars: ✭ 117 (+244.12%)
Mutual labels:  gitlab, gitea
infraverse
Infrastructure Platforms and Applications Comparison
Stars: ✭ 77 (+126.47%)
Mutual labels:  gitlab
email
Aplus Framework Email Library
Stars: ✭ 127 (+273.53%)
Mutual labels:  gitlab
gitlab-registry-kubernetes-secrets-howto
How to use Gitlab Container Registry with Kubernetes.
Stars: ✭ 30 (-11.76%)
Mutual labels:  gitlab
hej
Hej! is a simple authentication boilerplate for Socialite.
Stars: ✭ 111 (+226.47%)
Mutual labels:  gitlab
Batch-File-examples
🐚 Various batch files (descriptions are in the read me file)
Stars: ✭ 37 (+8.82%)
Mutual labels:  cmd
code-DS-ALGO
👨‍💻 Collection of algorithm and data structure codes, and competitive programming.
Stars: ✭ 31 (-8.82%)
Mutual labels:  coding
lazy-reviewer
Google Chrome extension that adds the display of pull request diffs to global PR section on GitHub/GitLab.
Stars: ✭ 17 (-50%)
Mutual labels:  gitlab
k8s-knative-gitlab-harbor
Build container images with Knative + Gitlab + Harbor inside Kops cluster running on AWS
Stars: ✭ 23 (-32.35%)
Mutual labels:  gitlab
VARBook
程序员的英语助手,输入中文,智能转换为英文变量
Stars: ✭ 24 (-29.41%)
Mutual labels:  coding
bot tulis
Pemalas versi desktop. Untuk yang ini tersedia versi CMD dan GUI. Pemalas adalah program untuk mengubah text menjadi tulisan diatas buku dalam bentuk gambar.
Stars: ✭ 43 (+26.47%)
Mutual labels:  cmd
ds-algo-placement-resources
A complete roadmap and resources for competitive programming for placement purpose.
Stars: ✭ 58 (+70.59%)
Mutual labels:  coding
CoreRemoting
RPC library with classic .NET Remoting flavour
Stars: ✭ 23 (-32.35%)
Mutual labels:  migrate
linux-online-docs
linux-online-docs(鸟哥的Linux 私房菜) 🔥 🚀 🎉 🇨🇳
Stars: ✭ 30 (-11.76%)
Mutual labels:  cmd

Gigrator

GitHub Action 来了: action-mirror-git 镜像同步 Git 仓库

Git 代码仓批量迁移

gigrator.png

Start

git clone https://github.com/k8scat/gigrator.git
cd gigrator
pip3 install -r requirements.txt

# 迁移前需在配置文件(settings.py)中配置 SOURCE_GIT 和 DEST_GIT
# 配置参考: settings_example.py
python3 gigrator.py

Develop

# Base class
class Git:
    pass

# Other GitServer class should inherit Git
class OtherGit(Git):
    pass

Support

Note:

  • 不支持迁移至 Coding, 可从 Coding 迁移至其他 Git 服务器
  • 由于 Coding 的升级, 其基础 API 不再是 https://coding.net, 而改为: https://{username}.coding.net
  • 迁移前请确认已在Git服务器上添加 SSH Key
  • 只能迁移指定用户下的仓库, 即 {username}/{repo_name}, 不包括参与的或者组织的仓库
  • 迁移包括commits、branches和tags, 不包括issues、pr和wiki

Environment

  • Git
  • Python

开发环境: git version 2.20.1 (Apple Git-117) + Python 3.7.2

Dependencies

References

GitLab

GitLab GraphQL API

Can not create a project!

It will co-exist with the current v4 REST API. If we have a v5 API, this should be a compatibility layer on top of GraphQL.

GitHub REST API v3

GitHub GraphQL API v4

Gitee

Gitea

Gogs

Coding

GF (腾讯工蜂)

GraphQL Client

License

MIT

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].