From 3107c8448edd94739573e20e7377b4529f023ae0 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Mon, 17 Feb 2020 18:43:24 -0500 Subject: [PATCH] clean up copybara config a smidge GitOrigin-RevId: 5179f64eecdf7f500a9341c22402fe42ef032529 --- tools/copybara/config/copy.bara.sky | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tools/copybara/config/copy.bara.sky b/tools/copybara/config/copy.bara.sky index e756cc6..7de0a0b 100644 --- a/tools/copybara/config/copy.bara.sky +++ b/tools/copybara/config/copy.bara.sky @@ -1,20 +1,19 @@ -sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git" -destinationUrlGitHub = "git@github.com:mcmillen/sneak.git" - sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git" + destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git" +destinationUrlGitHub = "git@github.com:mcmillen/sneak.git" files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"] core.workflow( - name = "github", + name = "gitea", mode = "ITERATIVE", origin = git.origin( url = sourceUrlGitea, ref = "master", ), destination = git.destination( - url = destinationUrlGitHub, + url = destinationUrlGitea, fetch = "master", push = "master", ), @@ -23,14 +22,14 @@ core.workflow( ) core.workflow( - name = "gitea", + name = "github", mode = "ITERATIVE", origin = git.origin( url = sourceUrlGitea, ref = "master", ), destination = git.destination( - url = destinationUrlGitea, + url = destinationUrlGitHub, fetch = "master", push = "master", ), @@ -38,4 +37,3 @@ core.workflow( authoring = authoring.pass_thru("Unknown Author "), ) -