summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-08 23:58:30 +0200
committeremkael <emkael@tlen.pl>2020-10-08 23:58:30 +0200
commit9a0ca4d1075f879b812cd8a1b55ab3a2c8e07c40 (patch)
treec3d885017b3e35aea1583c7ac2d5b6f4095f924c /configs
parent22d81d669191f669edd609d94859a8e480fa5b00 (diff)
Multiple configs handling rewritten to use envsubst
Diffstat (limited to 'configs')
-rw-r--r--configs/1n.envbin0 -> 129 bytes
-rw-r--r--configs/1s.envbin0 -> 129 bytes
-rw-r--r--configs/2ne.envbin0 -> 132 bytes
-rw-r--r--configs/2nw.envbin0 -> 132 bytes
-rw-r--r--configs/2se.envbin0 -> 132 bytes
-rw-r--r--configs/2sw.envbin0 -> 132 bytes
-rw-r--r--configs/_common.envbin0 -> 245 bytes
-rw-r--r--configs/b0.envbin0 -> 129 bytes
-rw-r--r--configs/b1.envbin0 -> 135 bytes
-rw-r--r--configs/b2.envbin0 -> 135 bytes
-rw-r--r--configs/config.1n/butler.json8
-rw-r--r--configs/config.1n/db.jsonbin99 -> 0 bytes
l---------configs/config.1n/goniec.json1
l---------configs/config.1n/logoh.json1
l---------configs/config.1n/translations.json1
-rw-r--r--configs/config.1s/butler.json8
-rw-r--r--configs/config.1s/db.jsonbin99 -> 0 bytes
l---------configs/config.1s/goniec.json1
l---------configs/config.1s/logoh.json1
l---------configs/config.1s/translations.json1
-rw-r--r--configs/config.2ne/butler.json8
-rw-r--r--configs/config.2ne/db.jsonbin99 -> 0 bytes
l---------configs/config.2ne/goniec.json1
l---------configs/config.2ne/logoh.json1
l---------configs/config.2ne/translations.json1
-rw-r--r--configs/config.2nw/butler.json8
-rw-r--r--configs/config.2nw/db.jsonbin99 -> 0 bytes
l---------configs/config.2nw/goniec.json1
l---------configs/config.2nw/logoh.json1
l---------configs/config.2nw/translations.json1
-rw-r--r--configs/config.2se/butler.json8
-rw-r--r--configs/config.2se/db.jsonbin99 -> 0 bytes
l---------configs/config.2se/goniec.json1
l---------configs/config.2se/logoh.json1
l---------configs/config.2se/translations.json1
-rw-r--r--configs/config.2sw/butler.json8
-rw-r--r--configs/config.2sw/db.jsonbin99 -> 0 bytes
l---------configs/config.2sw/goniec.json1
l---------configs/config.2sw/logoh.json1
l---------configs/config.2sw/translations.json1
-rw-r--r--configs/config.eklasa/butler.json8
-rw-r--r--configs/config.eklasa/db.jsonbin99 -> 0 bytes
l---------configs/config.eklasa/goniec.json1
l---------configs/config.eklasa/logoh.json1
l---------configs/config.eklasa/translations.json1
-rw-r--r--configs/eklasa.envbin0 -> 136 bytes
-rw-r--r--configs/goniec.json5
-rw-r--r--configs/logoh.json26
-rw-r--r--configs/translations.json124
49 files changed, 0 insertions, 232 deletions
diff --git a/configs/1n.env b/configs/1n.env
new file mode 100644
index 0000000..76045d2
--- /dev/null
+++ b/configs/1n.env
Binary files differ
diff --git a/configs/1s.env b/configs/1s.env
new file mode 100644
index 0000000..2595e7d
--- /dev/null
+++ b/configs/1s.env
Binary files differ
diff --git a/configs/2ne.env b/configs/2ne.env
new file mode 100644
index 0000000..d9d79ef
--- /dev/null
+++ b/configs/2ne.env
Binary files differ
diff --git a/configs/2nw.env b/configs/2nw.env
new file mode 100644
index 0000000..1e131a4
--- /dev/null
+++ b/configs/2nw.env
Binary files differ
diff --git a/configs/2se.env b/configs/2se.env
new file mode 100644
index 0000000..99a68a8
--- /dev/null
+++ b/configs/2se.env
Binary files differ
diff --git a/configs/2sw.env b/configs/2sw.env
new file mode 100644
index 0000000..cb84deb
--- /dev/null
+++ b/configs/2sw.env
Binary files differ
diff --git a/configs/_common.env b/configs/_common.env
new file mode 100644
index 0000000..7514a7b
--- /dev/null
+++ b/configs/_common.env
Binary files differ
diff --git a/configs/b0.env b/configs/b0.env
new file mode 100644
index 0000000..ad0a478
--- /dev/null
+++ b/configs/b0.env
Binary files differ
diff --git a/configs/b1.env b/configs/b1.env
new file mode 100644
index 0000000..d8c7fe5
--- /dev/null
+++ b/configs/b1.env
Binary files differ
diff --git a/configs/b2.env b/configs/b2.env
new file mode 100644
index 0000000..a9cf823
--- /dev/null
+++ b/configs/b2.env
Binary files differ
diff --git a/configs/config.1n/butler.json b/configs/config.1n/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.1n/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.1n/db.json b/configs/config.1n/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.1n/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.1n/goniec.json b/configs/config.1n/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.1n/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.1n/logoh.json b/configs/config.1n/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.1n/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.1n/translations.json b/configs/config.1n/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.1n/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.1s/butler.json b/configs/config.1s/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.1s/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.1s/db.json b/configs/config.1s/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.1s/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.1s/goniec.json b/configs/config.1s/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.1s/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.1s/logoh.json b/configs/config.1s/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.1s/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.1s/translations.json b/configs/config.1s/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.1s/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.2ne/butler.json b/configs/config.2ne/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.2ne/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.2ne/db.json b/configs/config.2ne/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.2ne/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.2ne/goniec.json b/configs/config.2ne/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.2ne/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.2ne/logoh.json b/configs/config.2ne/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.2ne/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.2ne/translations.json b/configs/config.2ne/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.2ne/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.2nw/butler.json b/configs/config.2nw/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.2nw/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.2nw/db.json b/configs/config.2nw/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.2nw/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.2nw/goniec.json b/configs/config.2nw/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.2nw/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.2nw/logoh.json b/configs/config.2nw/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.2nw/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.2nw/translations.json b/configs/config.2nw/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.2nw/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.2se/butler.json b/configs/config.2se/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.2se/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.2se/db.json b/configs/config.2se/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.2se/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.2se/goniec.json b/configs/config.2se/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.2se/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.2se/logoh.json b/configs/config.2se/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.2se/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.2se/translations.json b/configs/config.2se/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.2se/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.2sw/butler.json b/configs/config.2sw/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.2sw/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.2sw/db.json b/configs/config.2sw/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.2sw/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.2sw/goniec.json b/configs/config.2sw/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.2sw/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.2sw/logoh.json b/configs/config.2sw/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.2sw/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.2sw/translations.json b/configs/config.2sw/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.2sw/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/config.eklasa/butler.json b/configs/config.eklasa/butler.json
deleted file mode 100644
index 0f62f7a..0000000
--- a/configs/config.eklasa/butler.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "cutoff_point": 24,
- "cutoff_rate": 0.25,
- "opponent_factor": 0.5,
- "only_current": 0,
- "segments_in_table_limit": 10,
- "output_path": "./output"
-}
diff --git a/configs/config.eklasa/db.json b/configs/config.eklasa/db.json
deleted file mode 100644
index 616e6c4..0000000
--- a/configs/config.eklasa/db.json
+++ /dev/null
Binary files differ
diff --git a/configs/config.eklasa/goniec.json b/configs/config.eklasa/goniec.json
deleted file mode 120000
index 5954b9b..0000000
--- a/configs/config.eklasa/goniec.json
+++ /dev/null
@@ -1 +0,0 @@
-../goniec.json \ No newline at end of file
diff --git a/configs/config.eklasa/logoh.json b/configs/config.eklasa/logoh.json
deleted file mode 120000
index 7910e73..0000000
--- a/configs/config.eklasa/logoh.json
+++ /dev/null
@@ -1 +0,0 @@
-../logoh.json \ No newline at end of file
diff --git a/configs/config.eklasa/translations.json b/configs/config.eklasa/translations.json
deleted file mode 120000
index d53e316..0000000
--- a/configs/config.eklasa/translations.json
+++ /dev/null
@@ -1 +0,0 @@
-../translations.json \ No newline at end of file
diff --git a/configs/eklasa.env b/configs/eklasa.env
new file mode 100644
index 0000000..b29bbb5
--- /dev/null
+++ b/configs/eklasa.env
Binary files differ
diff --git a/configs/goniec.json b/configs/goniec.json
deleted file mode 100644
index 3b9c1bd..0000000
--- a/configs/goniec.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "enabled": 0,
- "host": "localhost",
- "port": 8090
-}
diff --git a/configs/logoh.json b/configs/logoh.json
deleted file mode 100644
index 6420b3f..0000000
--- a/configs/logoh.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "PAGE_TITLE": 0,
- "INDIVIDUAL_CLASSIFICATION": 80,
- "WITHOUT_PLAYERS_WITHOUT_CHANCES": 91,
- "PERCENT_NOT_LISTED": 92,
- "PLAYERS_WITHOUT_CHANCES": 90,
- "PERCENT": 88,
- "HEADER_PLACE": 65,
- "HEADER_TEAM": 52,
- "HEADER_IMPBRD": 44,
- "HEADER_BOARDS": 50,
- "HEADER_PREV_ROUNDS": 81,
- "FOOTER_GENERATED": 11,
- "FOOTER_OPTIMIZED": 15,
- "FOOTER_AT": 5,
- "ROUND": 18,
- "SEGMENT": 8,
- "HEADER_TABLE": 39,
- "HEADER_IMPS": 14,
- "HEADER_BOARD_NO": 64,
- "FOOTER_ANALYSIS": 13,
- "TABLE_CLOSED_NS": 101,
- "TABLE_OPEN_NS": 99,
- "TABLE_CLOSED_EW": 102,
- "TABLE_OPEN_EW": 100
-}
diff --git a/configs/translations.json b/configs/translations.json
deleted file mode 100644
index b4df4a3..0000000
--- a/configs/translations.json
+++ /dev/null
@@ -1,124 +0,0 @@
-{
- "BUTLER": {
- "pl": "BUTLER ZNORMALIZOWANY",
- "en": "NORMALIZED BUTLER"
- },
- "BUTLER_ROUND": {
- "pl": "BUTLER ZNORMALIZOWANY, RUNDA#",
- "en": "NORMALIZED BUTLER, ROUND#"
- },
- "NORMALIZED_CLASSIFICATION": {
- "pl": "INDYWIDUALNA KLASYFIKACJA BUTLERA ZNORMALIZOWANEGO",
- "en": "INDIVIDUAL NORMALIZED BUTLER CLASSIFICATION"
- },
- "HEADER_OPPS": {
- "pl": "śr.&nbsp;przec.",
- "en": "opp.&nbsp;<br />&nbsp;ave."
- },
- "HEADER_NORMALIZED": {
- "pl": "znorm.",
- "en": "norm."
- },
- "INFO_NORMALIZATION_PREFIX" : {
- "pl": "Butler znormalizowany w każdym segmencie wyliczany jest przez dodanie ",
- "en": "Normalized butler for each segment is calculated by adding "
- },
- "INFO_NORMALIZATION_SUFFIX" : {
- "pl": "% średniego nieznormalizowanego wyniku na rozdanie przeciwników do własnego nieznormalizowanego wyniku pary na rozdanie.",
- "en": "% of opponent's average non-normalized score per board to pair's own non-normalized score per board."
- },
- "INFO_CUTOFF_PREFIX": {
- "pl": "Powyżej ",
- "en": "Above "
- },
- "INFO_CUTOFF": {
- "pl": " IMP na segment, zalicza się jedynie ",
- "en": " IMPs per segment, only "
- },
- "INFO_CUTOFF_SUFFIX": {
- "pl": "% wyniku.",
- "en": "% of the score counts."
- },
- "INFO_NOT_ONLY_CURRENT": {
- "pl": "Wszystkie segmenty są brane pod uwagę przy wyliczaniu średniego wyniku przeciwników, wyniki ulegają więc zmianie z każdym rozegranym segmentem.",
- "en": "All played segments are used each time to calculate opponent's average, so normalized scores may change after new segments are played."
- },
- "INFO_ONLY_CURRENT": {
- "pl": "Jedynie dotychczas rozegrane segmenty są brane pod uwagę przy wyliczaniu średniego wyniku przeciwników, znormalizowane wartości dla początkowych rund mogą zatem nie być tak istotne.",
- "en": "Only already played segments are used to calculate opponent's average, so normalized score for the first rounds may not be as significant."
- },
- "FOOTER_ANALYSIS":
- {
- "pl": "Analiza rozdań programem DeepFinesse",
- "en": "Board analysis by DeepFinesse"
- },
- "FOOTER_AT":
- {
- "pl": " o ",
- "en": " at "
- },
- "FOOTER_GENERATED": {
- "pl": ", strona wygenerowana ",
- "en": ", page generated on "
- },
- "FOOTER_OPTIMIZED" : {
- "pl": ", optymalizowana dla rozdzielczości 1024x768.",
- "en": ", optimized for 1024x768 resolution."
- },
- "HEADER_BOARD_NO": {
- "pl": "Rzd#",
- "en": "brd#"
- },
- "HEADER_BOARDS": {
- "pl": "roz-<br>dania",
- "en": "boards"
- },
- "HEADER_IMPBRD": {
- "pl": "imp/rzd",
- "en": "imp/brd"
- },
- "HEADER_IMPS": {
- "pl": "impy",
- "en": "imps"
- },
- "HEADER_PLACE": {
- "pl": "miejsce",
- "en": "place"
- },
- "HEADER_PREV_ROUNDS": {
- "pl": "Poprzednia runda:",
- "en": "Previous rounds"
- },
- "HEADER_TABLE": {
- "pl": "stół",
- "en": "table"
- },
- "HEADER_TEAM": {
- "pl": "team",
- "en": "team"
- },
- "PERCENT": {
- "pl": "% rozdań",
- "en": "% of boards"
- },
- "ROUND": {
- "pl": "RUNDA ",
- "en": "ROUND "
- },
- "SEGMENT": {
- "pl": " SEGMENT ",
- "en": " SEGMENT "
- },
- "WITHOUT_PLAYERS_WITHOUT_CHANCES": {
- "pl": "bez zawodników, którzy nie mają szans na rozegranie ",
- "en": "players without chances to play at least "
- },
- "PERCENT_NOT_LISTED": {
- "pl": "% rozdań",
- "en": "% of boards"
- },
- "PLAYERS_WITHOUT_CHANCES": {
- "pl": "zawodnicy, którzy nie mają szans na rozegranie ",
- "en": "players without chances to play at least "
- }
-}