From 64ff0f7746a56a6b9400d41d5dd2eb9f7e2ffd03 Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 11 Jul 2021 15:31:51 +0200 Subject: Do not auto-refetch dumps before butler compilation + 2SE fixes --- Makefile | 2 +- butler/config.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4f41bab..907f087 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ dumps: FORCE s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/ ./dumps/load-dumps.sh -butler: dumps FORCE +butler: FORCE python butler/butler.py 1+2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 1 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} python butler/butler.py 2 | mysql ${LIGA_MYSQL_CONNECTION_OPTS} diff --git a/butler/config.json b/butler/config.json index 3654b57..1fef174 100644 --- a/butler/config.json +++ b/butler/config.json @@ -79,9 +79,9 @@ "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT 11, id, id, id+7, '--' FROM teams WHERE id < 8;", "UPDATE admin SET teamcnt = 16;", "INSERT INTO _teams(id, bye) VALUES(15, 2),(16, 2);", - "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM rounds;", - "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM rounds;", - "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM rounds;" + "INSERT INTO _matches(rnd, tabl, homet, visit, mtitle) SELECT rnd, 8, 15, 16, '--' FROM _rounds;", + "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 1, 8, 15, 16, 1 FROM _rounds;", + "INSERT INTO _segments(rnd, segment, tabl, homet, visit, towel) SELECT rnd, 2, 8, 15, 16, 1 FROM _rounds;" ] } } -- cgit v1.2.3