1 Star 0 Fork 19

Ankit Udiniyan / Gigrator

forked from K8sCat / Gigrator 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Gigrator

Git code warehouse batch migration

Start

git clone git@gitee.com:ankit20sep/Gigrator.git
cd Gigrator
pip3 install -r requirements.txt

# SOURCE_GIT and DEST_GIT need to be configured in the configuration file (settings.py) before migration 
# Configuration reference: settings_example.py
 python3 gigrator.py

Develop

# Base class
class Git:
    pass


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

Support

Note:

    1. Does not support the migration to Coding, from Coding can be migrated to other Gitservers
    1. Because of Codingthe upgrade, its foundation APIis no longer https://coding.net, and read:https://{username}.coding.net
    1. Please confirm that it has been added on the Git server before migration SSH Key
    1. Only the warehouses under the specified users can be migrated, that is {username}/{repo_name}, excluding participating or organized warehouses
    1. The migration includes commits, branches and tags, but does not include issues, pr and wiki

Environment

  • Git
  • Python

Development environment: 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

GraphQL Client

License

MIT

Repository Comments ( 0 )

Sign in to post a comment

About

Git代码仓批量迁移,支持GitHub、Gitee、GitLab、Gitea、Coding、Gogs expand collapse
Python
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://git.oschina.net/ankit20sep/Gigrator.git
git@git.oschina.net:ankit20sep/Gigrator.git
ankit20sep
Gigrator
Gigrator
master

Search

161121 f78d6d6f 1850385 154831 86f8c370 1850385