Browse Source

remove copybara (no longer needed)

master
Colin McMillen 2 years ago
parent
commit
e5c6811ef9
  1. 39
      tools/copybara/config/copy.bara.sky
  2. 7
      tools/copybara/copybara.sh

39
tools/copybara/config/copy.bara.sky

@ -1,39 +0,0 @@
sourceUrlGitea = "git@git.semicol.in:semicolin/sneak-private.git"
destinationUrlGitea = "git@git.semicol.in:semicolin/sneak.git"
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
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>"),
)
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 <nobody@semicolin.games>"),
)

7
tools/copybara/copybara.sh

@ -1,7 +0,0 @@
#/bin/sh
SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/config/copy.bara.sky gitea
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/config/copy.bara.sky github
Loading…
Cancel
Save