Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olivr/copybara-action
Transform and move code between repositories. Start with ZERO config and 100% customizable.
https://github.com/olivr/copybara-action
copybara mirror monorepo open-source repo-management repository
Last synced: 2 months ago
JSON representation
Transform and move code between repositories. Start with ZERO config and 100% customizable.
- Host: GitHub
- URL: https://github.com/olivr/copybara-action
- Owner: Olivr
- License: apache-2.0
- Created: 2020-09-18T03:46:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T09:32:28.000Z (4 months ago)
- Last Synced: 2024-10-31T10:49:46.174Z (3 months ago)
- Topics: copybara, mirror, monorepo, open-source, repo-management, repository
- Language: TypeScript
- Homepage:
- Size: 5.02 MB
- Stars: 97
- Watchers: 3
- Forks: 25
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
- Security: docs/SECURITY.md
- Support: docs/SUPPORT.md
Awesome Lists containing this project
- awesome-actions - Copybara Action - Move and transform code between repositories (ideal to maintain several repos from one monorepo). (Community Resources / GitHub Tools and Management)
- fucking-awesome-actions - Copybara Action - Move and transform code between repositories (ideal to maintain several repos from one monorepo). (Community Resources / GitHub Tools and Management)
- awesome-workflows - Copybara Action - Move and transform code between repositories (ideal to maintain several repos from one monorepo). (Community Resources / GitHub Tools and Management)
README
# Copybara Action
Google's [Copybara](https://github.com/google/copybara) is a great tool for transforming and moving code between repositories.
This action comes with sensible defaults to make it **very easy** for you to use Copybara with Github but is also **100% customizable** so you can use it with your own config, your own Docker image.
## βΎοΈ Default flow
```text
Source of Truth Destination+---------------+ Copybara +---------------+
| Branch +------------> | Branch |
+-------+-------+ +---------------+
^
|
|
+-------+-------+ Copybara +---------------+
| Pull Requests | <------------+ Pull Requests |
+---------------+ +---------------+
```- One repo acts as the Source of Truth (SoT)
- One other repo acts as the destination
- SoT branch is always pushed by Copybara to destination branch
- Pull Requests can be created on both SoT and destination
- Pull Requests created on destination are always copied by Copybara to SoT> This is the flow used for this action's [basic usage](docs/basic-usage.md), you can make it whatever you want it to be in [advanced usage](docs/advanced-usage.md).
## π₯ [Basic usage](docs/basic-usage.md)
## 𧨠[Advanced usage](docs/advanced-usage.md)
## π [All options](docs/inputs.md)
## π [Contributing](docs/CONTRIBUTING.md)
## π¬ Support
- For questions about this action: [Join Oliv'r on Keybase](https://keybase.io/team/olivr)
- For questions about Copybara: [Copybara's repo](https://github.com/google/copybara/)