← Back to issue list

meta: dump unicode yaml data

View original Github issue

Metadata

Project
snapcraft
Number
#3716
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged update to YAML dumping that enables Unicode support, fixing multiline text formatting in snap.yaml. Approved by reviewer, passed CI checks, and caused no coverage changes.

Suggested action:

No scores available.

Issue body

Set yaml dumping to allow unicode. This fixes formatting of multiline text in e.g. snap.yaml when it contains unicode characters. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged update to YAML dumping that enables Unicode support, fixing multiline text formatting in snap.yaml. Approved by reviewer, passed CI checks, and caused no coverage changes.
qwen3.6-35b-a3b-mtp-q6 Merged into snapcraft/7.0. Updates yaml dumping to support unicode, fixing multiline text formatting in snap.yaml. Code coverage remains unchanged.
qwen3.6-35b-a3b-mtp-q6 Merged to enable unicode in yaml dumping, fixing multiline text formatting in snap.yaml. Code coverage remains unchanged.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#270 fix(yaml): allow use unicode in yaml craft-application merged Merged a fix preventing unnecessary escaping of non-ASCII characters in YAML data and descriptions. Approved by two reviewers. The change modifies two files, adding 11 lines to properly handle unicode input.
76%
#65 fix: correctly represent yaml dumped multiline strings craft-application merged Merged into main after passing CI and receiving two approvals. Adds a YAML representer to correctly dump multiline strings, aligning with other craft applications. Achieved 100% diff coverage.
75%
#2414 yaml_utils: allow unicode while encoding snapcraft merged Merged to allow unicode encoding in yaml_utils, resolving Launchpad bug #1804258. The change modifies 4 files (+79/-1 lines), received approval, passed CI checks, and achieved 100% diff coverage.
74%
#2416 yaml_utils: allow unicode while encoding (#2414) snapcraft merged Merged pull request enabling unicode encoding in yaml_utils. The change passed all tests, achieved 100% diff coverage, and resolves Launchpad bug #1804258.
73%
#144 feat: dump_yaml utility craft-application merged Merged the dump_yaml utility feature, closing issue #135. Approved by two reviewers, passed CI checks, and improved test coverage to 99.02%. Modified four files with 102 additions and 30 deletions.
72%