darkmatter/Copybara Sync
Sync one git repository into another using Google Copybara, without Docker. Builds copybara from source on cache miss, then runs `java -jar`.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to a copy.bara.sky file in the caller's repo. If set, all other generation inputs are ignored. | no | "" |
| raw | Inlined copy.bara.sky contents. If set, all other generation inputs are ignored (path takes precedence over raw). | no | "" |
| origin_url | Origin git repository URL | no | "" |
| origin_ref | Origin ref/branch | no | main |
| dest_url | Destination git repository URL | no | "" |
| dest_fetch | Destination ref to fetch | no | main |
| dest_push | Destination ref to push | no | main |
| dest_files_globs | JSON array of globs to include in destination_files (also used for origin_files) | no | ["**"] |
| dest_files_excludes | JSON array of globs to exclude from destination_files (also used for origin_files) | no | [] |
| author | Authoring string, e.g. "Copybara Bot <bot@example.com>" | no | "" |
| transformations | JSON array of Copybara transformation Starlark expressions | no | [] |
| version | google/copybara git ref (branch, tag, or SHA) to build from. Defaults to a known-good SHA; override with 'master' to track HEAD. | no | a443f79f490d2b07e40e0b76d82e6d46f64632bf |
| github_token | GitHub token with write access to the destination repo (used for HTTPS auth) | no | "" |
| ssh_key | SSH private key with write access to the destination repo | no | "" |
Outputs
no outputs