google / google/copybara

As a Copybara user, I want to be able to operate on workflows via Bazel targets

Open
#147 8 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
345
PR merge metrics
No merged PRs in 30d

Description

#146 made it easier to load this workspace into another, which means that it's easier for an external workspace to import the copybara tool and use it via `bazel run -- `. It'd be far nicer to be able to operate on workflows via bazel targets, something like:

```
copybara_migrate(
name = "export_to_foo",
workflow = ":copy.bara.sky",
data = [
"//some/copybara:library",
...
],
)
```

which we could then run via `bazel run //path/to/target:export_to_foo`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.