refactor: .devops/未命名项目.yml
ob-repository-synchronize is a small tool which can help engineer to master their open source production’s code synchronization between GitHub, Gitee, CodeChina, internal repository and so on.
[!NOTE] Run the code in python 3.9
pip3 install -r requirement.txt
python3 main.py
python3 sync.py
Refer the web readme
docker pull XXX:latest
docker run -p 8000:8000 -d XXX bash start.sh -s backend
The repository now supports synchronizing issues between different Git platforms:
A new feature has been added to synchronize open issues from Gitee to GitLink repositories. This feature:
In your env.ini file, add the following section:
[ISSUE_SYNC] gitee_token = your_gitee_token gitlink_cookie = your_gitlink_cookie webhook_secret = your_webhook_secret auto_sync_enabled = true [REPO_MAPPINGS] gitee:gitlink:owner/repo = target_owner/target_repo gitlink:gitee:owner/repo = target_owner/target_repo
For more details, see the Issue Sync Documentation.
仓库同步
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
ob-repository-synchronize
Description
ob-repository-synchronize is a small tool which can help engineer to master their open source production’s code synchronization between GitHub, Gitee, CodeChina, internal repository and so on.
Principle
Base on git rebase
Base on git diff
backend
requirement
how to install
pip3 install -r requirement.txt
python3 main.py
run the sync script locally
python3 sync.py
frontend
Refer the web readme
docker
docker pull XXX:latest
docker run -p 8000:8000 -d XXX bash start.sh -s backend
How to use it
Issue Synchronization
The repository now supports synchronizing issues between different Git platforms:
Gitee to GitLink Issue Synchronization
A new feature has been added to synchronize open issues from Gitee to GitLink repositories. This feature:
Configuration
In your env.ini file, add the following section:
For more details, see the Issue Sync Documentation.