No way to modify a single `Node` to emit with `SingleQuoted`?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The report concerns preserving or setting single-quoted style on an individual YAML::Node while editing and emitting a document. Start by reading the YAML::Node and emitter APIs and the existing tests for scalar quoting; check whether the issue's desired behavior is supported at either entry point. Done means a single value can retain or emit single-quoted style without forcing that style on the whole document.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I've been beating my head into the wall to get this library to allow me to set a single YAML::Value to YAML::SingleQuoted. This is a pretty straightforward problem that I think most people can guess at: I'm editing a docker-compose.yml file and I'm losing every quote literal.
I know I can use YAML::Emitter and << into it with YAML::SingleQuoted to emit the entire document, but keys and values single quoted, but that isn't what I need. I realize quotes aren't the standard here in YAML format. But is there any way to read and preserve them?
- Ngôn ngữ chính
- C++
- Star
- 6.1k
- Fork
- 2.2k
- Merge trung bình
- 22 giờ 2 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của jbeder/yaml-cpp
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
Tất cả issue của jbeder/yaml-cpp
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/microsoft-ui-xaml#12515 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
FujiNetWIFI/fujinet-firmware#2261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug difficulty: easy good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nagisa-kamishiro/rosehip#73 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bazel bug odb
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
The-OpenROAD-Project/OpenROAD#12095 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày