Skip to content

Commit 727fb97

Browse files
committed
mzbuild: rename split_debuginfo to split-debuginfo
mzbuild convention for YAML map keys is kebab-case rather than snake_case. See the `pre-image` key for prior art.
1 parent 9a798ee commit 727fb97

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/developer/mzbuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ publish: true
419419

420420
Cargo is invoked with the `--release` flag unless the `--dev` flag is
421421
specified. The binary's debuginfo can be extracted and copied to a file in
422-
the same directory named `BIN.debug` by specifying `split_debuginfo: true`.
422+
the same directory named `BIN.debug` by specifying `split-debuginfo: true`.
423423
The binary itself will be stripped of debug information unless `strip:
424424
false` is requested.
425425

misc/python/materialize/mzbuild.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def __init__(self, rd: RepositoryDetails, path: Path, config: dict[str, Any]):
411411
example = config.pop("example", [])
412412
self.examples = example if isinstance(example, list) else [example]
413413
self.strip = config.pop("strip", True)
414-
self.split_debuginfo = config.pop("split_debuginfo", False)
414+
self.split_debuginfo = config.pop("split-debuginfo", False)
415415
self.extract = config.pop("extract", {})
416416
if len(self.bins) == 0 and len(self.examples) == 0:
417417
raise ValueError("mzbuild config is missing pre-build target")
@@ -488,7 +488,7 @@ def copy(exe: Path) -> None:
488488
# images and shipping them around.
489489
#
490490
# This option can be used in conjuction with
491-
# `split_debuginfo` and the `s3-upload-debuginfo`
491+
# `split-debuginfo` and the `s3-upload-debuginfo`
492492
# preimage to save the info to an S3 bucket for future use.
493493
spawn.runv(
494494
[*self.rd.tool("strip"), "--strip-debug", exe_path],

src/clusterd/ci/mzbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pre-image:
1212
- type: cargo-build
1313
bin: clusterd
1414
strip: true
15-
split_debuginfo: true
15+
split-debuginfo: true
1616
- type: s3-upload-debuginfo
1717
bin: clusterd
1818
bucket: materialize-debuginfo

src/environmentd/ci/mzbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pre-image:
1212
- type: cargo-build
1313
bin: environmentd
1414
strip: true
15-
split_debuginfo: true
15+
split-debuginfo: true
1616
- type: s3-upload-debuginfo
1717
bin: environmentd
1818
bucket: materialize-debuginfo

0 commit comments

Comments
 (0)