| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 1 | def _build_pure_transition_impl(settings, _attr): |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 2 | """ |
| 3 | Transition that enables pure, static build of Go binaries. |
| 4 | """ |
| Tim Windelschmidt | 3a171d1 | 2024-12-09 23:51:23 +0100 | [diff] [blame] | 5 | race = settings["@io_bazel_rules_go//go/config:race"] |
| Serge Bazanski | 30021af | 2023-06-20 13:30:11 +0200 | [diff] [blame] | 6 | pure = not race |
| 7 | |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 8 | return { |
| Serge Bazanski | 30021af | 2023-06-20 13:30:11 +0200 | [diff] [blame] | 9 | "@io_bazel_rules_go//go/config:pure": pure, |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 10 | "@io_bazel_rules_go//go/config:static": True, |
| Tim Windelschmidt | 3a171d1 | 2024-12-09 23:51:23 +0100 | [diff] [blame] | 11 | "//command_line_option:platforms": "//build/platforms:linux_amd64_static", |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | build_pure_transition = transition( |
| 15 | implementation = _build_pure_transition_impl, |
| Serge Bazanski | 30021af | 2023-06-20 13:30:11 +0200 | [diff] [blame] | 16 | inputs = [ |
| 17 | "@io_bazel_rules_go//go/config:race", |
| 18 | ], |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 19 | outputs = [ |
| 20 | "@io_bazel_rules_go//go/config:pure", |
| 21 | "@io_bazel_rules_go//go/config:static", |
| Tim Windelschmidt | 3a171d1 | 2024-12-09 23:51:23 +0100 | [diff] [blame] | 22 | "//command_line_option:platforms", |
| Serge Bazanski | c3ae758 | 2020-06-08 17:15:26 +0200 | [diff] [blame] | 23 | ], |
| 24 | ) |
| 25 | |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 26 | def _build_static_transition_impl(_settings, _attr): |
| Lorenz Brun | 5e4fc2d | 2020-09-22 18:35:15 +0200 | [diff] [blame] | 27 | """ |
| 28 | Transition that enables static builds with CGo and musl for Go binaries. |
| 29 | """ |
| 30 | return { |
| 31 | "@io_bazel_rules_go//go/config:static": True, |
| Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame] | 32 | "//command_line_option:platforms": "//build/platforms:linux_amd64_static", |
| Lorenz Brun | 5e4fc2d | 2020-09-22 18:35:15 +0200 | [diff] [blame] | 33 | } |
| 34 | |
| 35 | build_static_transition = transition( |
| 36 | implementation = _build_static_transition_impl, |
| 37 | inputs = [], |
| 38 | outputs = [ |
| 39 | "@io_bazel_rules_go//go/config:static", |
| Leopold | bc93c2b | 2023-01-14 13:12:23 +0100 | [diff] [blame] | 40 | "//command_line_option:platforms", |
| Lorenz Brun | 5e4fc2d | 2020-09-22 18:35:15 +0200 | [diff] [blame] | 41 | ], |
| 42 | ) |
| 43 | |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 44 | FSSpecInfo = provider( |
| 45 | "Provides parts of an FSSpec used to assemble filesystem images", |
| 46 | fields = { |
| 47 | "spec": "File containing the partial FSSpec as prototext", |
| 48 | "referenced": "Files (potentially) referenced by the spec", |
| Serge Bazanski | 140bddc | 2020-06-05 21:01:19 +0200 | [diff] [blame] | 49 | }, |
| 50 | ) |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 51 | |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 52 | def _fsspec_core_impl(ctx, tool, output_file): |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 53 | """ |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 54 | _fsspec_core_impl implements the core of an fsspec-based rule. It takes |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 55 | input from the `files`,`files_cc`, `symlinks` and `fsspecs` attributes |
| 56 | and calls `tool` with the `-out` parameter pointing to `output_file` |
| 57 | and paths to all fsspecs as positional arguments. |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 58 | """ |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 59 | fs_spec_name = ctx.label.name + ".prototxt" |
| 60 | fs_spec = ctx.actions.declare_file(fs_spec_name) |
| 61 | |
| 62 | fs_files = [] |
| 63 | inputs = [] |
| 64 | for label, p in ctx.attr.files.items() + ctx.attr.files_cc.items(): |
| 65 | if not p.startswith("/"): |
| 66 | fail("file {} invalid: must begin with /".format(p)) |
| 67 | |
| 68 | # Figure out if this is an executable. |
| 69 | is_executable = True |
| 70 | |
| 71 | di = label[DefaultInfo] |
| 72 | if di.files_to_run.executable == None: |
| 73 | # Generated non-executable files will have DefaultInfo.files_to_run.executable == None |
| 74 | is_executable = False |
| 75 | elif di.files_to_run.executable.is_source: |
| 76 | # Source files will have executable.is_source == True |
| 77 | is_executable = False |
| 78 | |
| 79 | # Ensure only single output is declared. |
| 80 | # If you hit this error, figure out a better logic to find what file you need, maybe looking at providers other |
| 81 | # than DefaultInfo. |
| 82 | files = di.files.to_list() |
| 83 | if len(files) > 1: |
| 84 | fail("file {} has more than one output: {}", p, files) |
| 85 | src = files[0] |
| 86 | inputs.append(src) |
| 87 | |
| 88 | mode = 0o555 if is_executable else 0o444 |
| 89 | fs_files.append(struct(path = p, source_path = src.path, mode = mode, uid = 0, gid = 0)) |
| 90 | |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 91 | fs_symlinks = [] |
| 92 | for target, p in ctx.attr.symlinks.items(): |
| 93 | fs_symlinks.append(struct(path = p, target_path = target)) |
| 94 | |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 95 | fs_spec_content = struct(file = fs_files, directory = [], symbolic_link = fs_symlinks) |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 96 | ctx.actions.write(fs_spec, proto.encode_text(fs_spec_content)) |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 97 | |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 98 | extra_specs = [] |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 99 | |
| 100 | for fsspec in ctx.attr.fsspecs: |
| Lorenz Brun | d1bc4a6 | 2022-09-12 16:45:18 +0000 | [diff] [blame] | 101 | if FSSpecInfo in fsspec: |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 102 | fsspec_info = fsspec[FSSpecInfo] |
| 103 | extra_specs.append(fsspec_info.spec) |
| 104 | for f in fsspec_info.referenced: |
| Lorenz Brun | d1bc4a6 | 2022-09-12 16:45:18 +0000 | [diff] [blame] | 105 | inputs.append(f) |
| 106 | else: |
| 107 | # Raw .fsspec prototext. No referenced data allowed. |
| 108 | di = fsspec[DefaultInfo] |
| 109 | extra_specs += di.files.to_list() |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 110 | |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 111 | ctx.actions.run( |
| 112 | outputs = [output_file], |
| 113 | inputs = [fs_spec] + inputs + extra_specs, |
| 114 | tools = [tool], |
| 115 | executable = tool, |
| 116 | arguments = ["-out", output_file.path, fs_spec.path] + [s.path for s in extra_specs], |
| 117 | ) |
| 118 | return |
| 119 | |
| 120 | def _node_initramfs_impl(ctx): |
| Lorenz Brun | 62f1d36 | 2023-11-14 16:18:24 +0100 | [diff] [blame] | 121 | initramfs_name = ctx.label.name + ".cpio.zst" |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 122 | initramfs = ctx.actions.declare_file(initramfs_name) |
| 123 | |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 124 | _fsspec_core_impl(ctx, ctx.executable._mkcpio, initramfs) |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 125 | |
| 126 | # TODO(q3k): Document why this is needed |
| 127 | return [DefaultInfo(runfiles = ctx.runfiles(files = [initramfs]), files = depset([initramfs]))] |
| 128 | |
| 129 | node_initramfs = rule( |
| 130 | implementation = _node_initramfs_impl, |
| 131 | doc = """ |
| 132 | Build a node initramfs. The initramfs will contain a basic /dev directory and all the files specified by the |
| 133 | `files` attribute. Executable files will have their permissions set to 0755, non-executable files will have |
| 134 | their permissions set to 0444. All parent directories will be created with 0755 permissions. |
| 135 | """, |
| 136 | attrs = { |
| 137 | "files": attr.label_keyed_string_dict( |
| 138 | mandatory = True, |
| 139 | allow_files = True, |
| 140 | doc = """ |
| 141 | Dictionary of Labels to String, placing a given Label's output file in the initramfs at the location |
| 142 | specified by the String value. The specified labels must only have a single output. |
| 143 | """, |
| 144 | # Attach pure transition to ensure all binaries added to the initramfs are pure/static binaries. |
| 145 | cfg = build_pure_transition, |
| 146 | ), |
| 147 | "files_cc": attr.label_keyed_string_dict( |
| 148 | allow_files = True, |
| 149 | doc = """ |
| 150 | Special case of 'files' for compilation targets that need to be built with the musl toolchain like |
| 151 | go_binary targets which need cgo or cc_binary targets. |
| 152 | """, |
| 153 | # Attach static transition to all files_cc inputs to ensure they are built with musl and static. |
| 154 | cfg = build_static_transition, |
| 155 | ), |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 156 | "symlinks": attr.string_dict( |
| 157 | default = {}, |
| 158 | doc = """ |
| 159 | Symbolic links to create. Similar format as in files and files_cc, so the target of the symlink is the |
| 160 | key and the value of it is the location of the symlink itself. Only raw strings are allowed as targets, |
| 161 | labels are not permitted. Include the file using files or files_cc, then symlink to its location. |
| 162 | """, |
| 163 | ), |
| 164 | "fsspecs": attr.label_list( |
| 165 | default = [], |
| 166 | doc = """ |
| Tim Windelschmidt | c2290c2 | 2024-08-15 19:56:00 +0200 | [diff] [blame] | 167 | List of file system specs (osbase.build.fsspec.FSSpec) to also include in the resulting image. |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 168 | These will be merged with all other given attributes. |
| 169 | """, |
| 170 | providers = [FSSpecInfo], |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 171 | allow_files = True, |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 172 | ), |
| 173 | |
| 174 | # Tool |
| 175 | "_mkcpio": attr.label( |
| Tim Windelschmidt | c2290c2 | 2024-08-15 19:56:00 +0200 | [diff] [blame] | 176 | default = Label("//osbase/build/mkcpio"), |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 177 | executable = True, |
| 178 | cfg = "exec", |
| 179 | ), |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 180 | }, |
| 181 | ) |
| 182 | |
| 183 | def _erofs_image_impl(ctx): |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 184 | fs_name = ctx.label.name + ".img" |
| 185 | fs_out = ctx.actions.declare_file(fs_name) |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 186 | |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 187 | _fsspec_core_impl(ctx, ctx.executable._mkerofs, fs_out) |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 188 | |
| 189 | return [DefaultInfo(files = depset([fs_out]))] |
| 190 | |
| 191 | erofs_image = rule( |
| 192 | implementation = _erofs_image_impl, |
| 193 | doc = """ |
| 194 | Build an EROFS. All files specified in files, files_cc and all specified symlinks will be contained. |
| 195 | Executable files will have their permissions set to 0555, non-executable files will have |
| 196 | their permissions set to 0444. All parent directories will be created with 0555 permissions. |
| 197 | """, |
| 198 | attrs = { |
| 199 | "files": attr.label_keyed_string_dict( |
| 200 | mandatory = True, |
| 201 | allow_files = True, |
| 202 | doc = """ |
| 203 | Dictionary of Labels to String, placing a given Label's output file in the EROFS at the location |
| 204 | specified by the String value. The specified labels must only have a single output. |
| 205 | """, |
| 206 | # Attach pure transition to ensure all binaries added to the initramfs are pure/static binaries. |
| 207 | cfg = build_pure_transition, |
| 208 | ), |
| 209 | "files_cc": attr.label_keyed_string_dict( |
| 210 | allow_files = True, |
| 211 | doc = """ |
| 212 | Special case of 'files' for compilation targets that need to be built with the musl toolchain like |
| 213 | go_binary targets which need cgo or cc_binary targets. |
| 214 | """, |
| 215 | # Attach static transition to all files_cc inputs to ensure they are built with musl and static. |
| 216 | cfg = build_static_transition, |
| 217 | ), |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 218 | "symlinks": attr.string_dict( |
| 219 | default = {}, |
| 220 | doc = """ |
| 221 | Symbolic links to create. Similar format as in files and files_cc, so the target of the symlink is the |
| 222 | key and the value of it is the location of the symlink itself. Only raw strings are allowed as targets, |
| 223 | labels are not permitted. Include the file using files or files_cc, then symlink to its location. |
| 224 | """, |
| 225 | ), |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 226 | "fsspecs": attr.label_list( |
| 227 | default = [], |
| 228 | doc = """ |
| Tim Windelschmidt | c2290c2 | 2024-08-15 19:56:00 +0200 | [diff] [blame] | 229 | List of file system specs (osbase.build.fsspec.FSSpec) to also include in the resulting image. |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 230 | These will be merged with all other given attributes. |
| 231 | """, |
| 232 | providers = [FSSpecInfo], |
| Serge Bazanski | a393814 | 2022-04-04 17:04:47 +0200 | [diff] [blame] | 233 | allow_files = True, |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 234 | ), |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 235 | |
| 236 | # Tools, implicit dependencies. |
| 237 | "_mkerofs": attr.label( |
| Tim Windelschmidt | c2290c2 | 2024-08-15 19:56:00 +0200 | [diff] [blame] | 238 | default = Label("//osbase/build/mkerofs"), |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 239 | executable = True, |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 240 | cfg = "exec", |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 241 | ), |
| Lorenz Brun | 6b13bf1 | 2021-01-26 19:54:24 +0100 | [diff] [blame] | 242 | }, |
| 243 | ) |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 244 | |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 245 | # VerityInfo is emitted by verity_image, and contains a file enclosing a |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 246 | # singular dm-verity target table. |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 247 | VerityInfo = provider( |
| 248 | "Information necessary to mount a single dm-verity target.", |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 249 | fields = { |
| 250 | "table": "A file containing the dm-verity target table. See: https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/verity.html", |
| 251 | }, |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 252 | ) |
| 253 | |
| 254 | def _verity_image_impl(ctx): |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 255 | """ |
| 256 | Create a new file containing the source image data together with the Verity |
| 257 | metadata appended to it, and provide an associated DeviceMapper Verity target |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 258 | table in a separate file, through VerityInfo provider. |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 259 | """ |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 260 | |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 261 | # Run mkverity. |
| 262 | image = ctx.actions.declare_file(ctx.attr.name + ".img") |
| 263 | table = ctx.actions.declare_file(ctx.attr.name + ".dmt") |
| 264 | ctx.actions.run( |
| 265 | mnemonic = "GenVerityImage", |
| Tim Windelschmidt | 83f0aa4 | 2024-12-09 20:34:33 +0100 | [diff] [blame] | 266 | progress_message = "Generating a dm-verity image: {}".format(image.short_path), |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 267 | inputs = [ctx.file.source], |
| 268 | outputs = [ |
| 269 | image, |
| 270 | table, |
| 271 | ], |
| 272 | executable = ctx.file._mkverity, |
| 273 | arguments = [ |
| 274 | "-input=" + ctx.file.source.path, |
| 275 | "-output=" + image.path, |
| 276 | "-table=" + table.path, |
| 277 | "-data_alias=" + ctx.attr.rootfs_partlabel, |
| 278 | "-hash_alias=" + ctx.attr.rootfs_partlabel, |
| 279 | ], |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 280 | ) |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 281 | |
| 282 | return [ |
| 283 | DefaultInfo( |
| 284 | files = depset([image]), |
| 285 | runfiles = ctx.runfiles(files = [image]), |
| 286 | ), |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 287 | VerityInfo( |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 288 | table = table, |
| 289 | ), |
| 290 | ] |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 291 | |
| 292 | verity_image = rule( |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 293 | implementation = _verity_image_impl, |
| 294 | doc = """ |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 295 | Build a dm-verity target image by appending Verity metadata to the source |
| 296 | image. A corresponding dm-verity target table will be made available |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 297 | through VerityInfo provider. |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 298 | """, |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 299 | attrs = { |
| 300 | "source": attr.label( |
| 301 | doc = "A source image.", |
| 302 | allow_single_file = True, |
| 303 | ), |
| 304 | "rootfs_partlabel": attr.string( |
| 305 | doc = "GPT partition label of the rootfs to be used with dm-mod.create.", |
| Lorenz Brun | 35fcf03 | 2023-06-29 04:15:58 +0200 | [diff] [blame] | 306 | default = "PARTLABEL=METROPOLIS-SYSTEM-X", |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 307 | ), |
| 308 | "_mkverity": attr.label( |
| 309 | doc = "The mkverity executable needed to generate the image.", |
| Tim Windelschmidt | c2290c2 | 2024-08-15 19:56:00 +0200 | [diff] [blame] | 310 | default = "//osbase/build/mkverity", |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 311 | allow_single_file = True, |
| 312 | executable = True, |
| Tim Windelschmidt | 156248b | 2025-01-10 00:27:45 +0100 | [diff] [blame] | 313 | cfg = "exec", |
| Lorenz Brun | b6a9d3c | 2022-01-27 18:56:20 +0100 | [diff] [blame] | 314 | ), |
| 315 | }, |
| Mateusz Zalega | e2bf574 | 2022-01-25 19:36:08 +0100 | [diff] [blame] | 316 | ) |