depot/third_party/copybara/copy.bara.sky

30 lines
938 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",
"patches/0002-HgRepository-HGPLAIN.patch",
"patches/0003-HgDestination-nonpublishing.patch",
2021-07-04 15:01:53 +00:00
"patches/diff-support-T.patch",
]),
core.move("", "third_party/copybara"),
],
)