Does not parse %q() delimited strings in Puppet Resource API Types
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- ruby
调研方向
首先,使用带有 %q(...) 形式描述的 Resource API 类型重现该问题,然后运行 pdk bundle exec puppet strings generate --format markdown --out REFERENCE.md。跟踪字符串解析和参考文档输出路径;当生成的 Markdown 包含不带 %q() 分隔符的描述文本时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the Bug
A multiline description in the type definition of a resource which includes both single ' and double " quotes should be delimited by %q() - but this puts the literal string in the reference doc, including the %q() delimiters.
Expected Behavior
A validly delimited string should be written into the reference output without showing the delimiters.
Steps to Reproduce
Steps to reproduce the behavior:
- Change the delimiters for any string in a Resource API type to
%q(...)instead of'...'or"..." pdk bundle exec puppet strings generate --format markdown --out REFERENCE.md
- 主要语言
- Ruby
- 星标
- 90
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
puppetlabs/puppet-strings 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 25/100
puppetlabs/puppet-strings#389 · 3 条评论 · 1 个 reaction ·
-
bug
难度 2/5 1-3 小时 新手友好度 55/100
puppetlabs/puppet-strings#386 ·
-
maintenance
难度 2/5 1-3 小时 新手友好度 35/100
puppetlabs/puppet-strings#370 ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
puppetlabs/puppet-strings#365 ·
-
community feature
难度 4/5 3-5 天 新手友好度 35/100
puppetlabs/puppet-strings#353 ·
查看 puppetlabs/puppet-strings 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
GantMan/jail-monkey#380 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
voxpupuli/puppet-wireguard#151 ·
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Search accepts any value for `requests_per_page` and `per_page`可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug f:search
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复