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
New Wiki Synchronization Feature
Now the system supports synchronizing wiki content between repositories. The wiki sync feature can synchronize wiki pages from one repository to another, supporting platforms like Gitee and Gitlink. The system automatically handles differences between platforms, such as URL-encoded Chinese filenames in Gitlink.
Wiki Sync API
The system provides a dedicated API endpoint for synchronizing Wiki content:
Endpoint: /cerobot/sync/{repo_name}/wiki
Method: POST
Parameters:
repo_name: Repository name (path parameter)
The system automatically uses the synchronization direction configured in the database and the default master branch of the wiki repository.
For more details, please refer to the API.md documentation.
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
New Wiki Synchronization Feature
Now the system supports synchronizing wiki content between repositories. The wiki sync feature can synchronize wiki pages from one repository to another, supporting platforms like Gitee and Gitlink. The system automatically handles differences between platforms, such as URL-encoded Chinese filenames in Gitlink.
Wiki Sync API
The system provides a dedicated API endpoint for synchronizing Wiki content:
/cerobot/sync/{repo_name}/wikiPOSTrepo_name: Repository name (path parameter)The system automatically uses the synchronization direction configured in the database and the default master branch of the wiki repository.
For more details, please refer to the API.md documentation.
backend
requirement
how to install
pip3 install -r requirement.txtpython3 main.pyrun the sync script locally
python3 sync.pyfrontend
Refer the web readme
docker
docker pull XXX:latestdocker run -p 8000:8000 -d XXX bash start.sh -s backendHow to use it