whoops, put copybara config back into the right place

GitOrigin-RevId: 06793793690729217c307880bee1468f2623f033
This commit is contained in:
Colin McMillen 2020-02-13 21:57:15 -05:00
parent 8cf840d451
commit 4a7cc839a0

View File

@ -0,0 +1,41 @@
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
sourceUrlGitea = "git@git.semicolin.games:colin/sneak-private.git"
destinationUrlGitea = "git@git.semicolin.games:colin/sneak.git"
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
core.workflow(
name = "github",
mode = "ITERATIVE",
origin = git.origin(
url = sourceUrlGitHub,
ref = "master",
),
destination = git.destination(
url = destinationUrlGitHub,
fetch = "master",
push = "master",
),
origin_files = glob(files),
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
)
core.workflow(
name = "gitea",
mode = "ITERATIVE",
origin = git.origin(
url = sourceUrlGitea,
ref = "master",
),
destination = git.destination(
url = destinationUrlGitea,
fetch = "master",
push = "master",
),
origin_files = glob(files),
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
)