2020-02-25 22:42:30 +00:00
|
|
|
sourceUrlGitea = "git@git.semicol.in:semicolin/sneak-private.git"
|
2020-02-17 23:43:24 +00:00
|
|
|
|
2020-02-25 22:42:30 +00:00
|
|
|
destinationUrlGitea = "git@git.semicol.in:semicolin/sneak.git"
|
2020-02-17 23:43:24 +00:00
|
|
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
2020-02-14 02:57:15 +00:00
|
|
|
|
|
|
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
|
|
|
|
|
|
|
core.workflow(
|
2020-02-17 23:43:24 +00:00
|
|
|
name = "gitea",
|
2020-02-14 02:57:15 +00:00
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
2020-02-17 21:18:30 +00:00
|
|
|
url = sourceUrlGitea,
|
2020-02-14 02:57:15 +00:00
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
2020-02-17 23:43:24 +00:00
|
|
|
url = destinationUrlGitea,
|
2020-02-14 02:57:15 +00:00
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
|
|
|
origin_files = glob(files),
|
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
|
|
|
)
|
|
|
|
|
|
|
|
core.workflow(
|
2020-02-17 23:43:24 +00:00
|
|
|
name = "github",
|
2020-02-14 02:57:15 +00:00
|
|
|
mode = "ITERATIVE",
|
|
|
|
origin = git.origin(
|
|
|
|
url = sourceUrlGitea,
|
|
|
|
ref = "master",
|
|
|
|
),
|
|
|
|
destination = git.destination(
|
2020-02-17 23:43:24 +00:00
|
|
|
url = destinationUrlGitHub,
|
2020-02-14 02:57:15 +00:00
|
|
|
fetch = "master",
|
|
|
|
push = "master",
|
|
|
|
),
|
|
|
|
origin_files = glob(files),
|
|
|
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
|
|
|
)
|
|
|
|
|