question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

#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 <label> -- <args>. 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.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sudoforgecommented, Oct 21, 2022

@danielepolencic I never got around to cleaning up my personal rule lib and submitting it for use here. Thanks for the reminder; I’ll revisit this when I have the cycles to.

0reactions
danielepolenciccommented, May 27, 2022

@sudoforge is there a PR for the rules?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recommended process for adding new workflows?
I'm exploring Copybara as a way to both integrate the source code of open external dependencies within a monorepo, and to manage the ......
Read more >
Workspaces, packages, and targets - Bazel
A workspace is a directory tree on your filesystem that contains the source files for the software you want to build. Each workspace...
Read more >
LLVM updates and bazel cache - Build - TensorFlow Forum
Are we going to invalidate all this targets cache? Mehdi_AMINI: As a workflow, when I use to develop in LLVM on a laptop,...
Read more >
Moving code between GIT repositories with Copybara - Kubesimplify
Copybara is a tool to move source code between git repositories automatically. When would you use such a tool? When you have an...
Read more >
refs/heads/upstream/master - Google Git
If you would like to use Highway on other platforms, please raise an issue. Flexible to deploy: Applications using Highway can run on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found