7
7
// the "/customize" endpoint does not send a suitable "software" field.
8
8
// check frontend/customize.tsx for more details.
9
9
10
+ import { without } from "lodash" ;
10
11
import * as schema from "./db-schema" ;
11
12
12
13
// WARNING! Do not remove this from the public api. **It is used by kucalc
@@ -21,8 +22,8 @@ const GROUPS = [
21
22
"Ubuntu 24.04" ,
22
23
"Ubuntu 22.04" ,
23
24
"Ubuntu 20.04" ,
24
- "Ubuntu 18.04" ,
25
- "Ubuntu 16.04" ,
25
+ "Ubuntu 18.04" , // empty
26
+ "Ubuntu 16.04" , // empty
26
27
] as const ;
27
28
28
29
type Group = ( typeof GROUPS ) [ number ] ;
@@ -78,6 +79,7 @@ const COMPUTE_IMAGES: { [key: string]: ComputeImageProd } = {
78
79
short : "Ubuntu 22.04 (Testing)" ,
79
80
descr : "Upcoming Ubuntu 22.04 based software stack" ,
80
81
group : "Ubuntu 22.04" ,
82
+ hidden : true ,
81
83
} ,
82
84
default : {
83
85
order : 1 ,
@@ -124,17 +126,25 @@ const COMPUTE_IMAGES: { [key: string]: ComputeImageProd } = {
124
126
group : "Ubuntu 20.04" ,
125
127
hidden : true ,
126
128
} ,
129
+ "ubuntu2204-2024-11-25" : {
130
+ title : "Ubuntu 22.04 (2024-11-25)" ,
131
+ short : "2024-11-25" ,
132
+ descr : "Frozen on 2024-11-25 and no longer updated" ,
133
+ group : "Ubuntu 22.04" ,
134
+ } ,
127
135
"ubuntu2204-2024-08-01" : {
128
136
title : "Ubuntu 22.04 (2024-08-01)" ,
129
137
short : "2024-08-01" ,
130
138
descr : "Frozen on 2024-08-01 and no longer updated" ,
131
139
group : "Ubuntu 22.04" ,
140
+ hidden : true ,
132
141
} ,
133
142
"ubuntu2204-2024-05-13" : {
134
143
title : "Ubuntu 22.04 (2024-05-13)" ,
135
144
short : "2024-05-13" ,
136
145
descr : "Frozen on 2024-05-13 and no longer updated" ,
137
146
group : "Ubuntu 22.04" ,
147
+ hidden : true ,
138
148
} ,
139
149
"ubuntu2204-2024-02-07" : {
140
150
title : "Ubuntu 22.04 (2024-02-07)" ,
@@ -147,60 +157,70 @@ const COMPUTE_IMAGES: { [key: string]: ComputeImageProd } = {
147
157
short : "2023-01-09" ,
148
158
descr : "Frozen on 2023-01-09 and no longer updated" ,
149
159
group : "Ubuntu 22.04" ,
160
+ hidden : true ,
150
161
} ,
151
162
"ubuntu2204-2023-04-19" : {
152
163
title : "Ubuntu 22.04 (2023-04-19)" ,
153
164
short : "2023-04-19" ,
154
165
descr : "Frozen on 2023-04-19 and no longer updated" ,
155
166
group : "Ubuntu 22.04" ,
167
+ hidden : true ,
156
168
} ,
157
169
"ubuntu2204-2023-05-15" : {
158
170
title : "Ubuntu 22.04 (2023-05-15)" ,
159
171
short : "2023-05-15" ,
160
172
descr : "Frozen on 2023-05-15 and no longer updated" ,
161
173
group : "Ubuntu 22.04" ,
174
+ hidden : true ,
162
175
} ,
163
176
"ubuntu2204-2023-09-11" : {
164
177
title : "Ubuntu 22.04 (2023-09-11)" ,
165
178
short : "2023-09-11" ,
166
179
descr : "Frozen on 2023-09-11 and no longer updated" ,
167
180
group : "Ubuntu 22.04" ,
181
+ hidden : true ,
168
182
} ,
169
183
[ UBUNTU2004_DEV ] : {
170
184
title : "Ubuntu 20.04 (Testing)" ,
171
185
short : "Testing" ,
172
186
descr : "Upcoming software changes – could be broken!" ,
173
187
group : "Ubuntu 20.04" ,
188
+ hidden : true ,
174
189
} ,
175
190
"ubuntu2004-2020-10-28" : {
176
191
title : "Ubuntu 20.04 (2020-10-28)" ,
177
192
short : "2020-10-28" ,
178
193
group : "Ubuntu 20.04" ,
179
194
descr : "Frozen on 2020-10-28 and no longer updated" ,
195
+ hidden : true ,
180
196
} ,
181
197
"ubuntu2004-2020-12-09" : {
182
198
title : "Ubuntu 20.04 (2020-12-09)" ,
183
199
short : "2020-12-09" ,
184
200
group : "Ubuntu 20.04" ,
185
201
descr : "Frozen on 2020-12-09 and no longer updated" ,
202
+ hidden : true ,
186
203
} ,
187
204
"ubuntu2004-2021-02-01" : {
188
205
title : "Ubuntu 20.04 (2021-02-01)" ,
189
206
short : "2021-02-01" ,
190
207
group : "Ubuntu 20.04" ,
191
208
descr : "Frozen on 2021-02-01 and no longer updated" ,
209
+ hidden : true ,
192
210
} ,
193
211
"ubuntu2004-2021-05-31" : {
194
212
title : "Ubuntu 20.04 (2021-05-31)" ,
195
213
short : "2021-05-31" ,
196
214
group : "Ubuntu 20.04" ,
197
215
descr : "Frozen on 2021-05-31 and no longer updated" ,
216
+ hidden : true ,
198
217
} ,
199
218
"ubuntu2004-2021-08-13" : {
200
219
title : "Ubuntu 20.04 (2021-08-13)" ,
201
220
short : "2021-08-13" ,
202
221
group : "Ubuntu 20.04" ,
203
222
descr : "Frozen on 2021-08-13 and no longer updated" ,
223
+ hidden : true ,
204
224
} ,
205
225
"ubuntu2004-2021-10-10" : {
206
226
title : "Ubuntu 20.04 (2021-10-10)" ,
@@ -213,12 +233,14 @@ const COMPUTE_IMAGES: { [key: string]: ComputeImageProd } = {
213
233
short : "2022-04-19" ,
214
234
group : "Ubuntu 20.04" ,
215
235
descr : "Frozen on 2022-04-19 and no longer updated" ,
236
+ hidden : true ,
216
237
} ,
217
238
"ubuntu2004-2022-08-17" : {
218
239
title : "Ubuntu 20.04 (2022-08-17)" ,
219
240
short : "2022-08-17" ,
220
241
group : "Ubuntu 20.04" ,
221
242
descr : "Frozen on 2022-08-17 and no longer updated" ,
243
+ hidden : true ,
222
244
} ,
223
245
"ubuntu2004-2022-11-25" : {
224
246
title : "Ubuntu 20.04 (2022-11-25)" ,
@@ -247,55 +269,63 @@ const COMPUTE_IMAGES: { [key: string]: ComputeImageProd } = {
247
269
short : "2018-08-27" ,
248
270
descr : "Frozen on 2018-08-27 and no longer updated" ,
249
271
group : "Ubuntu 18.04" ,
272
+ hidden : true ,
250
273
} ,
251
274
"stable-2019-01-12" : {
252
275
title : "Ubuntu 18.04 @ 2019-01-12" ,
253
276
short : "2019-01-12" ,
254
277
descr : "Frozen on 2019-01-12 and no longer updated" ,
255
278
group : "Ubuntu 18.04" ,
279
+ hidden : true ,
256
280
} ,
257
281
"stable-2019-07-15" : {
258
282
title : "Ubuntu 18.04 @ 2019-07-15" ,
259
283
short : "2019-07-15" ,
260
284
descr : "Frozen on 2019-07-15 and no longer updated" ,
261
285
group : "Ubuntu 18.04" ,
286
+ hidden : true ,
262
287
} ,
263
288
"stable-2019-10-25_ro" : {
264
289
title : "Ubuntu 18.04 @ 2019-10-25" ,
265
290
short : "2019-10-25" ,
266
291
descr : "Frozen on 2019-10-25 and no longer updated" ,
267
292
group : "Ubuntu 18.04" ,
293
+ hidden : true ,
268
294
} ,
269
295
"stable-2019-12-15_ro" : {
270
296
title : "Ubuntu 18.04 @ 2019-12-15" ,
271
297
short : "2019-12-15" ,
272
298
descr : "Frozen on 2019-12-15 and no longer updated" ,
273
299
group : "Ubuntu 18.04" ,
300
+ hidden : true ,
274
301
} ,
275
302
"stable-2020-01-26_ro" : {
276
303
title : "Ubuntu 18.04 @ 2020-01-26" ,
277
304
short : "2020-01-26" ,
278
305
descr : "Frozen on 2020-01-26 and no longer updated" ,
279
306
group : "Ubuntu 18.04" ,
307
+ hidden : true ,
280
308
} ,
281
309
"stable-2020-07-31" : {
282
310
title : "Ubuntu 18.04 @ 2020-07-31" ,
283
311
short : "2020-07-31" ,
284
312
descr : "Frozen on 2020-07-31 and no longer updated" ,
285
313
group : "Ubuntu 18.04" ,
314
+ hidden : true ,
286
315
} ,
287
316
old : {
288
317
order : 10 ,
289
318
title : "Old Ubuntu 16.04" ,
290
319
short : "Old software image" ,
291
320
descr : "In use until Summer 2018. No longer maintained!" ,
292
321
group : "Ubuntu 16.04" ,
322
+ hidden : true ,
293
323
} ,
294
324
} as const ;
295
325
296
326
export const FALLBACK_SOFTWARE_ENV = {
297
327
default : DEFAULT_COMPUTE_IMAGE ,
298
- groups : GROUPS ,
328
+ groups : without ( GROUPS , "Ubuntu 18.04" , "Ubuntu 16.04" ) ,
299
329
environments : COMPUTE_IMAGES ,
300
330
} as const ;
301
331
0 commit comments