{"id":13585988,"url":"https://github.com/k8scat/Gigrator","last_synced_at":"2025-04-07T14:33:05.208Z","repository":{"id":47600772,"uuid":"224972540","full_name":"k8scat/Gigrator","owner":"k8scat","description":"Git repos migration tool which supports Github / Gitee / Gitlab / Gitea / Coding / Gogs / 腾讯工蜂.","archived":false,"fork":false,"pushed_at":"2023-05-23T14:38:31.000Z","size":1733,"stargazers_count":45,"open_issues_count":3,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T12:40:21.446Z","etag":null,"topics":["cmd","coding","git","gitea","gitee","github","gitlab","gogs","golang","graphql","migrate"],"latest_commit_sha":null,"homepage":"https://github.com/k8scat/gigrator","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k8scat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-30T06:54:41.000Z","updated_at":"2024-05-08T04:34:01.251Z","dependencies_parsed_at":"2024-05-08T04:44:03.351Z","dependency_job_id":null,"html_url":"https://github.com/k8scat/Gigrator","commit_stats":{"total_commits":33,"total_committers":9,"mean_commits":"3.6666666666666665","dds":0.6666666666666667,"last_synced_commit":"541f6b66dab985569f4245c9c667c3f56d8c847f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8scat%2FGigrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8scat%2FGigrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8scat%2FGigrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k8scat%2FGigrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k8scat","download_url":"https://codeload.github.com/k8scat/Gigrator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223284937,"owners_count":17119809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmd","coding","git","gitea","gitee","github","gitlab","gogs","golang","graphql","migrate"],"created_at":"2024-08-01T15:05:15.521Z","updated_at":"2024-11-06T04:30:25.778Z","avatar_url":"https://github.com/k8scat.png","language":"Python","readme":"# Gigrator\n\n## GitHub Action 来了: [action-mirror-git](https://github.com/k8scat/action-mirror-git) 镜像同步 Git 仓库\n\n[![](https://img.shields.io/badge/GitHub-success)](https://github.com/k8scat/gigrator)\n[![](https://img.shields.io/badge/Gitee-red)](https://gitee.com/k8scat/gigrator)\n\nGigrator 是一个 Git 代码仓批量迁移工具，支持多种 Git 平台，包括 Gitee、GitLab、GitHub、Gitea、Coding、Gogs 和腾讯工蜂，同时支持自行扩展更多 Git 平台。\n\n![gigrator.png](images/gigrator.png)\n\n## 快速开始\n\n```shell script\ngit clone https://github.com/k8scat/gigrator.git\ncd gigrator\npip3 install -r requirements.txt\n\n# 迁移前需在配置文件(settings.py)中配置 SOURCE_GIT 和 DEST_GIT\n# 配置参考: settings_example.py\npython3 gigrator.py\n```\n\n## 支持平台\n\n* [x] [Gitee](https://gitee.com/)\n* [x] [GitLab](https://gitlab.com/)\n* [x] [GitHub](https://github.com/)\n* [x] [Gitea](https://gitea.io/zh-cn/)\n* [x] [Coding](https://coding.net/)\n* [x] [Gogs](https://gogs.io/)\n* [x] [腾讯工蜂](https://code.tencent.com/)\n* [ ] [Bitbucket](https://bitbucket.org/)\n\nNote:\n\n* 不支持迁移至 `Coding`, 可从 Coding 迁移至其他 `Git` 服务器\n* 由于 `Coding` 的升级, 其基础 `API` 不再是 `https://coding.net`, 而改为: `https://{username}.coding.net`\n* 迁移前请确认已在Git服务器上添加 `SSH Key`\n* 只能迁移指定用户下的仓库, 即 `{username}/{repo_name}`, 不包括参与的或者组织的仓库\n* 迁移包括commits、branches和tags, 不包括issues、pr和wiki\n\n## 环境\n\n* Git\n* Python\n\n开发环境: `git version 2.20.1 (Apple Git-117)` + `Python 3.7.2`\n\n## 开发手册\n\n[开发手册](./dev.md)\n\n## 开源协议\n\n[MIT](./LICENSE)\n\n## 交流群\n\n\u003cimg src=\"./images/weixin.png\" alt=\"交流群\" width=\"300\" height=\"auto\"\u003e\n\n\u003e 二维码失效可添加微信 「kennn007」，请备注「Gigrator」。\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8scat%2FGigrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk8scat%2FGigrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk8scat%2FGigrator/lists"}