From 0d672f2feefc46d35ff9f4a153241ef1dd683ef5 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Tue, 17 Oct 2023 18:30:37 -0700 Subject: [PATCH] Delete copy.bara.sky --- copy.bara.sky | 89 --------------------------------------------------- 1 file changed, 89 deletions(-) delete mode 100644 copy.bara.sky diff --git a/copy.bara.sky b/copy.bara.sky deleted file mode 100644 index 6b1d7f0..0000000 --- a/copy.bara.sky +++ /dev/null @@ -1,89 +0,0 @@ -# Run by downloading and installing copybara, then running: -# $ cd -# $ ../copybara/bazel-bin/java/com/google/copybara/copybara copy.bara.sky rust-sdk-push - -core.workflow( - name = "rust-sdk-push", - origin = git.github_origin( - url = "https://github.com/lightsparkdev/webdev.git", - ref = "main", - ), - destination = git.github_destination( - url = "https://github.com/lightsparkdev/lightspark-rs.git", - push = "main", - ), - # Switch to ITERATIVE mode to import each commit separately. - mode = "SQUASH", - - origin_files = glob( - ["rust-sdk/**", "copy.bara.sky"], - exclude = ["rust-sdk/lightspark/examples/internal_example.rs"], - ), - - authoring = authoring.pass_thru("Lightspark Eng "), - transformations = [ - metadata.restore_author("ORIGINAL_AUTHOR", search_all_changes = True), - metadata.expose_label("COPYBARA_INTEGRATE_REVIEW"), - core.todo_replace( - mode = 'SCRUB_NAMES' - ), - core.move("rust-sdk/", "") - ], -) - -core.workflow( - name = "python-sdk-push", - origin = git.github_origin( - url = "https://github.com/lightsparkdev/webdev.git", - ref = "main", - ), - destination = git.github_destination( - url = "https://github.com/lightsparkdev/python-sdk.git", - push = "main", - ), - # Switch to ITERATIVE mode to import each commit separately. - mode = "SQUASH", - - origin_files = glob( - ["python-sdk/**", "copy.bara.sky"] - ), - - authoring = authoring.pass_thru("Lightspark Eng "), - transformations = [ - metadata.restore_author("ORIGINAL_AUTHOR", search_all_changes = True), - metadata.expose_label("COPYBARA_INTEGRATE_REVIEW"), - core.todo_replace( - mode = 'SCRUB_NAMES' - ), - core.move("python-sdk/", "") - ], -) - -core.workflow( - name = "go-sdk-push", - origin = git.github_origin( - url = "https://github.com/lightsparkdev/webdev.git", - ref = "main", - ), - destination = git.github_destination( - url = "https://github.com/lightsparkdev/go-sdk.git", - push = "main", - ), - # Switch to ITERATIVE mode to import each commit separately. - mode = "SQUASH", - - origin_files = glob( - ["go-sdk/**"], - ), - - authoring = authoring.pass_thru("Lightspark Eng "), - transformations = [ - metadata.restore_author("ORIGINAL_AUTHOR", search_all_changes = True), - metadata.expose_label("COPYBARA_INTEGRATE_REVIEW"), - core.todo_replace( - mode = 'SCRUB_NAMES' - ), - core.move("go-sdk/", "") - ], -) -