Skip to content

Commit 1d35c86

Browse files
authored
[tools/shoestring]: add light node option to wizard
problem: There is no option to deploy the Light node from the wizard solution: add a radio button for the Light node
1 parent 029afe7 commit 1d35c86

File tree

8 files changed

+114
-59
lines changed

8 files changed

+114
-59
lines changed

tools/shoestring/shoestring/lang/en/LC_MESSAGES/messages.po

+22-18
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ msgstr "file containing serialized transaction to send"
2121

2222
#: shoestring/commands/min_cosignatures_count.py:35
2323
#: shoestring/commands/renew_certificates.py:36
24-
#: shoestring/commands/setup.py:144 shoestring/commands/signer.py:93
24+
#: shoestring/commands/setup.py:145 shoestring/commands/signer.py:93
2525
msgid "argument-help-ca-key-path"
2626
msgstr "path to main private key PEM file"
2727

@@ -31,15 +31,15 @@ msgstr "path to main private key PEM file"
3131
#: shoestring/commands/min_cosignatures_count.py:34
3232
#: shoestring/commands/renew_certificates.py:34
3333
#: shoestring/commands/renew_voting_keys.py:112
34-
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:136
34+
#: shoestring/commands/reset_data.py:86 shoestring/commands/setup.py:137
3535
#: shoestring/commands/signer.py:92
3636
msgid "argument-help-config"
3737
msgstr "path to shoestring configuration file"
3838

3939
#: shoestring/commands/health.py:75
4040
#: shoestring/commands/renew_certificates.py:35
4141
#: shoestring/commands/renew_voting_keys.py:113
42-
#: shoestring/commands/reset_data.py:88 shoestring/commands/setup.py:138
42+
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:139
4343
msgid "argument-help-directory"
4444
msgstr "installation directory (default: {default_path})"
4545

@@ -95,25 +95,25 @@ msgstr "renews CA certificate too"
9595
msgid "argument-help-renew-certificates-retain-node-key"
9696
msgstr "retain node key"
9797

98-
#: shoestring/commands/reset_data.py:89
98+
#: shoestring/commands/reset_data.py:88
9999
msgid "argument-help-reset-data-purge-harvesters"
100100
msgstr "purge harvesters.dat file"
101101

102-
#: shoestring/commands/setup.py:139
102+
#: shoestring/commands/setup.py:140
103103
msgid "argument-help-setup-overrides"
104104
msgstr "path to custom user settings"
105105

106-
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:137
106+
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:138
107107
msgid "argument-help-setup-package"
108108
msgstr ""
109109
"Network configuration package. Possible values: (name | file:///filename "
110110
"| http(s)://uri) (default: mainnet)"
111111

112-
#: shoestring/commands/setup.py:140
112+
#: shoestring/commands/setup.py:141
113113
msgid "argument-help-setup-rest-overrides"
114114
msgstr "path to custom user REST settings (this is only valid for API roles)"
115115

116-
#: shoestring/commands/setup.py:143
116+
#: shoestring/commands/setup.py:144
117117
msgid "argument-help-setup-security"
118118
msgstr "security mode (default: default)"
119119

@@ -143,18 +143,18 @@ msgstr "downloaded file ({descriptor_name}) has invalid hash"
143143
msgid "general-connecting-to-node"
144144
msgstr "connecting to {endpoint}"
145145

146-
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:57
147-
#: shoestring/internal/Preparer.py:190
146+
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:56
147+
#: shoestring/internal/Preparer.py:193
148148
#: shoestring/internal/VoterConfigurator.py:53
149149
msgid "general-copying-file"
150150
msgstr "copying FILE {source_path} into {destination_path}"
151151

152-
#: shoestring/commands/reset_data.py:62 shoestring/internal/Preparer.py:196
152+
#: shoestring/commands/reset_data.py:61 shoestring/internal/Preparer.py:199
153153
msgid "general-copying-tree"
154154
msgstr "copying TREE {source_path} to {destination_path}"
155155

156156
#: shoestring/commands/renew_voting_keys.py:46
157-
#: shoestring/internal/Preparer.py:389
157+
#: shoestring/internal/Preparer.py:402
158158
msgid "general-created-aggregate-transaction"
159159
msgstr "created aggregate transaction with hash {transaction_hash}"
160160

@@ -236,19 +236,19 @@ msgstr ""
236236
"voting keys are registered from the current epoch {start_epoch} until "
237237
"epoch {end_epoch}"
238238

239-
#: shoestring/healthagents/websockets.py:22
239+
#: shoestring/healthagents/websockets.py:21
240240
msgid "health-websockets-connected"
241241
msgstr "websocket connected to {endpoint}, subscribing and waiting for block"
242242

243-
#: shoestring/healthagents/websockets.py:39
243+
#: shoestring/healthagents/websockets.py:38
244244
msgid "health-websockets-received-block"
245245
msgstr "websocket received a block with height {height}"
246246

247-
#: shoestring/healthagents/websockets.py:41
247+
#: shoestring/healthagents/websockets.py:40
248248
msgid "health-websockets-received-wrong-topic"
249249
msgstr "received a message but it has wrong topic '{topic}'"
250250

251-
#: shoestring/healthagents/websockets.py:43
251+
#: shoestring/healthagents/websockets.py:42
252252
msgid "health-websockets-timed-out"
253253
msgstr ""
254254
"timeout when waiting for a block, this might indicate a problem between "
@@ -402,7 +402,7 @@ msgstr "node is not configured for voting, aborting"
402402
msgid "renew-voting-keys-removing-expired-voting-keys"
403403
msgstr "removing expired voting keys: {filepath}"
404404

405-
#: shoestring/commands/reset_data.py:11
405+
#: shoestring/commands/reset_data.py:10
406406
msgid "reset-data-recreating-directory"
407407
msgstr "purging and recreating DIRECTORY {directory}"
408408

@@ -668,11 +668,15 @@ msgstr "metadata"
668668
msgid "wizard-node-type-dual"
669669
msgstr "Dual (peer + api) node"
670670

671+
#: shoestring/wizard/screens/node_type.py:27
672+
msgid "wizard-node-type-light"
673+
msgstr "Light node"
674+
671675
#: shoestring/wizard/screens/node_type.py:26
672676
msgid "wizard-node-type-peer"
673677
msgstr "Peer node"
674678

675-
#: shoestring/wizard/screens/node_type.py:33
679+
#: shoestring/wizard/screens/node_type.py:34
676680
msgid "wizard-node-type-title"
677681
msgstr "Choose node type"
678682

tools/shoestring/shoestring/lang/ja/LC_MESSAGES/messages.po

+22-18
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgstr ""
1919

2020
#: shoestring/commands/min_cosignatures_count.py:35
2121
#: shoestring/commands/renew_certificates.py:36
22-
#: shoestring/commands/setup.py:144 shoestring/commands/signer.py:93
22+
#: shoestring/commands/setup.py:145 shoestring/commands/signer.py:93
2323
msgid "argument-help-ca-key-path"
2424
msgstr ""
2525

@@ -29,15 +29,15 @@ msgstr ""
2929
#: shoestring/commands/min_cosignatures_count.py:34
3030
#: shoestring/commands/renew_certificates.py:34
3131
#: shoestring/commands/renew_voting_keys.py:112
32-
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:136
32+
#: shoestring/commands/reset_data.py:86 shoestring/commands/setup.py:137
3333
#: shoestring/commands/signer.py:92
3434
msgid "argument-help-config"
3535
msgstr ""
3636

3737
#: shoestring/commands/health.py:75
3838
#: shoestring/commands/renew_certificates.py:35
3939
#: shoestring/commands/renew_voting_keys.py:113
40-
#: shoestring/commands/reset_data.py:88 shoestring/commands/setup.py:138
40+
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:139
4141
msgid "argument-help-directory"
4242
msgstr ""
4343

@@ -93,23 +93,23 @@ msgstr ""
9393
msgid "argument-help-renew-certificates-retain-node-key"
9494
msgstr ""
9595

96-
#: shoestring/commands/reset_data.py:89
96+
#: shoestring/commands/reset_data.py:88
9797
msgid "argument-help-reset-data-purge-harvesters"
9898
msgstr ""
9999

100-
#: shoestring/commands/setup.py:139
100+
#: shoestring/commands/setup.py:140
101101
msgid "argument-help-setup-overrides"
102102
msgstr ""
103103

104-
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:137
104+
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:138
105105
msgid "argument-help-setup-package"
106106
msgstr ""
107107

108-
#: shoestring/commands/setup.py:140
108+
#: shoestring/commands/setup.py:141
109109
msgid "argument-help-setup-rest-overrides"
110110
msgstr ""
111111

112-
#: shoestring/commands/setup.py:143
112+
#: shoestring/commands/setup.py:144
113113
msgid "argument-help-setup-security"
114114
msgstr ""
115115

@@ -139,18 +139,18 @@ msgstr ""
139139
msgid "general-connecting-to-node"
140140
msgstr ""
141141

142-
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:57
143-
#: shoestring/internal/Preparer.py:190
142+
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:56
143+
#: shoestring/internal/Preparer.py:193
144144
#: shoestring/internal/VoterConfigurator.py:53
145145
msgid "general-copying-file"
146146
msgstr ""
147147

148-
#: shoestring/commands/reset_data.py:62 shoestring/internal/Preparer.py:196
148+
#: shoestring/commands/reset_data.py:61 shoestring/internal/Preparer.py:199
149149
msgid "general-copying-tree"
150150
msgstr ""
151151

152152
#: shoestring/commands/renew_voting_keys.py:46
153-
#: shoestring/internal/Preparer.py:389
153+
#: shoestring/internal/Preparer.py:402
154154
msgid "general-created-aggregate-transaction"
155155
msgstr ""
156156

@@ -230,19 +230,19 @@ msgstr ""
230230
msgid "health-voting-keys-registered"
231231
msgstr ""
232232

233-
#: shoestring/healthagents/websockets.py:22
233+
#: shoestring/healthagents/websockets.py:21
234234
msgid "health-websockets-connected"
235235
msgstr ""
236236

237-
#: shoestring/healthagents/websockets.py:39
237+
#: shoestring/healthagents/websockets.py:38
238238
msgid "health-websockets-received-block"
239239
msgstr ""
240240

241-
#: shoestring/healthagents/websockets.py:41
241+
#: shoestring/healthagents/websockets.py:40
242242
msgid "health-websockets-received-wrong-topic"
243243
msgstr ""
244244

245-
#: shoestring/healthagents/websockets.py:43
245+
#: shoestring/healthagents/websockets.py:42
246246
msgid "health-websockets-timed-out"
247247
msgstr ""
248248

@@ -390,7 +390,7 @@ msgstr ""
390390
msgid "renew-voting-keys-removing-expired-voting-keys"
391391
msgstr ""
392392

393-
#: shoestring/commands/reset_data.py:11
393+
#: shoestring/commands/reset_data.py:10
394394
msgid "reset-data-recreating-directory"
395395
msgstr ""
396396

@@ -650,11 +650,15 @@ msgstr ""
650650
msgid "wizard-node-type-dual"
651651
msgstr ""
652652

653+
#: shoestring/wizard/screens/node_type.py:27
654+
msgid "wizard-node-type-light"
655+
msgstr ""
656+
653657
#: shoestring/wizard/screens/node_type.py:26
654658
msgid "wizard-node-type-peer"
655659
msgstr ""
656660

657-
#: shoestring/wizard/screens/node_type.py:33
661+
#: shoestring/wizard/screens/node_type.py:34
658662
msgid "wizard-node-type-title"
659663
msgstr ""
660664

tools/shoestring/shoestring/lang/messages.pot

+22-18
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgstr ""
1212

1313
#: shoestring/commands/min_cosignatures_count.py:35
1414
#: shoestring/commands/renew_certificates.py:36
15-
#: shoestring/commands/setup.py:144 shoestring/commands/signer.py:93
15+
#: shoestring/commands/setup.py:145 shoestring/commands/signer.py:93
1616
msgid "argument-help-ca-key-path"
1717
msgstr ""
1818

@@ -22,15 +22,15 @@ msgstr ""
2222
#: shoestring/commands/min_cosignatures_count.py:34
2323
#: shoestring/commands/renew_certificates.py:34
2424
#: shoestring/commands/renew_voting_keys.py:112
25-
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:136
25+
#: shoestring/commands/reset_data.py:86 shoestring/commands/setup.py:137
2626
#: shoestring/commands/signer.py:92
2727
msgid "argument-help-config"
2828
msgstr ""
2929

3030
#: shoestring/commands/health.py:75
3131
#: shoestring/commands/renew_certificates.py:35
3232
#: shoestring/commands/renew_voting_keys.py:113
33-
#: shoestring/commands/reset_data.py:88 shoestring/commands/setup.py:138
33+
#: shoestring/commands/reset_data.py:87 shoestring/commands/setup.py:139
3434
msgid "argument-help-directory"
3535
msgstr ""
3636

@@ -86,23 +86,23 @@ msgstr ""
8686
msgid "argument-help-renew-certificates-retain-node-key"
8787
msgstr ""
8888

89-
#: shoestring/commands/reset_data.py:89
89+
#: shoestring/commands/reset_data.py:88
9090
msgid "argument-help-reset-data-purge-harvesters"
9191
msgstr ""
9292

93-
#: shoestring/commands/setup.py:139
93+
#: shoestring/commands/setup.py:140
9494
msgid "argument-help-setup-overrides"
9595
msgstr ""
9696

97-
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:137
97+
#: shoestring/commands/init.py:28 shoestring/commands/setup.py:138
9898
msgid "argument-help-setup-package"
9999
msgstr ""
100100

101-
#: shoestring/commands/setup.py:140
101+
#: shoestring/commands/setup.py:141
102102
msgid "argument-help-setup-rest-overrides"
103103
msgstr ""
104104

105-
#: shoestring/commands/setup.py:143
105+
#: shoestring/commands/setup.py:144
106106
msgid "argument-help-setup-security"
107107
msgstr ""
108108

@@ -132,18 +132,18 @@ msgstr ""
132132
msgid "general-connecting-to-node"
133133
msgstr ""
134134

135-
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:57
136-
#: shoestring/internal/Preparer.py:190
135+
#: shoestring/commands/init.py:17 shoestring/commands/reset_data.py:56
136+
#: shoestring/internal/Preparer.py:193
137137
#: shoestring/internal/VoterConfigurator.py:53
138138
msgid "general-copying-file"
139139
msgstr ""
140140

141-
#: shoestring/commands/reset_data.py:62 shoestring/internal/Preparer.py:196
141+
#: shoestring/commands/reset_data.py:61 shoestring/internal/Preparer.py:199
142142
msgid "general-copying-tree"
143143
msgstr ""
144144

145145
#: shoestring/commands/renew_voting_keys.py:46
146-
#: shoestring/internal/Preparer.py:389
146+
#: shoestring/internal/Preparer.py:402
147147
msgid "general-created-aggregate-transaction"
148148
msgstr ""
149149

@@ -223,19 +223,19 @@ msgstr ""
223223
msgid "health-voting-keys-registered"
224224
msgstr ""
225225

226-
#: shoestring/healthagents/websockets.py:22
226+
#: shoestring/healthagents/websockets.py:21
227227
msgid "health-websockets-connected"
228228
msgstr ""
229229

230-
#: shoestring/healthagents/websockets.py:39
230+
#: shoestring/healthagents/websockets.py:38
231231
msgid "health-websockets-received-block"
232232
msgstr ""
233233

234-
#: shoestring/healthagents/websockets.py:41
234+
#: shoestring/healthagents/websockets.py:40
235235
msgid "health-websockets-received-wrong-topic"
236236
msgstr ""
237237

238-
#: shoestring/healthagents/websockets.py:43
238+
#: shoestring/healthagents/websockets.py:42
239239
msgid "health-websockets-timed-out"
240240
msgstr ""
241241

@@ -383,7 +383,7 @@ msgstr ""
383383
msgid "renew-voting-keys-removing-expired-voting-keys"
384384
msgstr ""
385385

386-
#: shoestring/commands/reset_data.py:11
386+
#: shoestring/commands/reset_data.py:10
387387
msgid "reset-data-recreating-directory"
388388
msgstr ""
389389

@@ -643,11 +643,15 @@ msgstr ""
643643
msgid "wizard-node-type-dual"
644644
msgstr ""
645645

646+
#: shoestring/wizard/screens/node_type.py:27
647+
msgid "wizard-node-type-light"
648+
msgstr ""
649+
646650
#: shoestring/wizard/screens/node_type.py:26
647651
msgid "wizard-node-type-peer"
648652
msgstr ""
649653

650-
#: shoestring/wizard/screens/node_type.py:33
654+
#: shoestring/wizard/screens/node_type.py:34
651655
msgid "wizard-node-type-title"
652656
msgstr ""
653657

0 commit comments

Comments
 (0)