This repository mirrors all repositories from the OpenHarmony organization on Gitee. These mirrored repositories are read-only and are consumed by the Eclipse Oniro build system.
The purpose of this mirroring is to:
- Enhance the speed and reliability of accessing OpenHarmony repositories.
- Simplify the process of forking and integration with GitHub.
- Maintain up-to-date synchronization through a CI workflow executed every 24 hours.
If you are interested in contributing to active development, please visit Eclipse Oniro for OpenHarmony.
A script to generate a list of unique repositories required by the OpenHarmony build system across multiple release branches:
- Outputs: A consolidated list of unique repositories (
repo-list.txt).
A GitHub Actions workflow that:
- Mirrors large Gitee repositories with shallow cloning.
- Tracks files exceeding GitHub's 100MB limit using Git LFS.
A Python script that:
- Divides a list of repositories into smaller chunks for parallel processing.
- Filters out problematic repositories to improve mirroring reliability.
The main CI workflow that:
- Retrieves and processes the list of repositories to be mirrored.
- Splits the workload into chunks for parallel execution.
- Mirrors repositories from Gitee to GitHub.
- CI-Driven Mirroring: Automates the synchronization process to ensure repositories are always up-to-date.
- Parallel Processing: Speeds up mirroring by handling multiple repositories simultaneously.
- Error Handling: Excludes problematic repositories and leverages Git LFS for large files.
Contributions are welcome to improve the mirroring scripts or workflows. For development-related contributions, please refer to Eclipse Oniro for OpenHarmony.
This repository is licensed under the Apache License 2.0.