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,27 +1,10 @@ -sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git" +sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git" + +destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git" destinationUrlGitHub = "git@github.com:mcmillen/sneak.git" -sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git" -destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git" - files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"] -core.workflow( - name = "github", - mode = "ITERATIVE", - origin = git.origin( - url = sourceUrlGitea, - ref = "master", - ), - destination = git.destination( - url = destinationUrlGitHub, - fetch = "master", - push = "master", - ), - origin_files = glob(files), - authoring = authoring.pass_thru("Unknown Author "), -) - core.workflow( name = "gitea", mode = "ITERATIVE", @@ -38,4 +21,19 @@ core.workflow( authoring = authoring.pass_thru("Unknown Author "), ) +core.workflow( + name = "github", + mode = "ITERATIVE", + origin = git.origin( + url = sourceUrlGitea, + ref = "master", + ), + destination = git.destination( + url = destinationUrlGitHub, + fetch = "master", + push = "master", + ), + origin_files = glob(files), + authoring = authoring.pass_thru("Unknown Author "), +)