depot/third_party/copybara/copy.bara.sky

25 lines
754 B
Text
Raw Normal View History

core.workflow(
name = "default",
origin = git.github_origin(
url = "https://github.com/google/copybara.git",
ref = "master",
),
destination = hg.destination(
url = "file:///home/lukegb/depot",
fetch = "default",
push = "default",
),
destination_files = glob(
["third_party/copybara/**"],
exclude = [
"third_party/copybara/copy.bara.sky",
"third_party/copybara/patches/**",
],
),
authoring = authoring.pass_thru("Default email <noreply+copybara@lukegb.com>"),
transformations = [
patch.apply(patches = ["patches/0001-Make-Mercurial-at-least-slightly-usable.patch"]),
core.move("", "third_party/copybara"),
],
)