No way to modify a single `Node` to emit with `SingleQuoted`?
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- C++
- スター
- 6.1k
- フォーク
- 2.2k
- 平均マージ
- 22時間 2分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jbeder/yaml-cpp のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
-
難易度 3/5 半日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
jbeder/yaml-cpp の issue をすべて見る
似ている issue
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
v3: Lua m.setvar() returns -1 on errors, so the script gets stack garbage対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン3.x bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
owasp-modsecurity/ModSecurity#3731 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Sendspin/sendspin-cpp-cli#111 ·
メンテナーはふだん 1 日以内に返信
-
[Core/Config] The server fails to start due to an invalid config path when debugging対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
azerothcore/azerothcore-wotlk#28350 ·
メンテナーはふだん 1 日以内に返信