2020-02-05 18:26:16 +00:00
|
|
|
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
2020-02-05 18:31:39 +00:00
|
|
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
2020-01-18 03:57:28 +00:00
|
|
|
|
2020-02-13 21:21:40 +00:00
|
|
|
sourceUrlGitea = "git@git.semicolin.games:colin/sneak-private.git"
|
|
|
|
destinationUrlGitea = "git@git.semicolin.games:colin/sneak.git"
|
2020-01-18 03:57:28 +00:00
|
|
|
|
|
|
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
2020-01-18 03:41:45 +00:00
|
|
|
|
|
|
|
core.workflow(
|
2020-01-18 03:57:28 +00:00
|
|
|
name = "github",
|
2020-01-18 03:41:45 +00:00
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
2020-01-18 03:57:28 +00:00
|
|
|
url = sourceUrlGitHub,
|
2020-01-18 03:41:45 +00:00
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
2020-01-18 03:57:28 +00:00
|
|
|
url = destinationUrlGitHub,
|
2020-01-18 03:41:45 +00:00
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
2020-01-18 03:57:28 +00:00
|
|
|
origin_files = glob(files),
|
2020-01-18 03:41:45 +00:00
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
2020-01-18 03:57:28 +00:00
|
|
|
)
|
2020-01-18 03:41:45 +00:00
|
|
|
|
2020-02-13 21:21:40 +00:00
|
|
|
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>"),
|
|
|
|
)
|
2020-01-18 03:57:28 +00:00
|
|
|
|
|
|
|
|