Phase out egrep since it triggers warnings on grep version >= 3.8
还没有人认领这个 Issue。
评估
调研方向
从 /opt/puppetlabs/pe_patch/pe_patch_fact_generation.sh 开始,并在使用 grep >= 3.8 的系统上运行它,例如 Fedora 38。完成的标准是:从 cron job 运行时,脚本不会产生任何过时警告。
由索引模型根据 Issue 内容生成。
描述
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: all
- Ruby: all
- Distribution: any distro with grep >= 3.8 (Fedora 38 in particular)
- Module version: all
How to reproduce (e.g Puppet code you use)
Run the script /opt/puppetlabs/pe_patch/pe_patch_fact_generation.sh on a distro with grep >= 3.8
What are you seeing
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
What behaviour did you expect instead
No output
Output log
Any additional information you'd like to impart
Since we have the script running in a cron job, we do get multiple emails per day per system. It adds up.
- 主要语言
- Ruby
- 星标
- 4
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
puppetlabs/pe_patch 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
puppetlabs/pe_patch#108 ·
-
难度 4/5 3-5 天 新手友好度 35/100
puppetlabs/pe_patch#97 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
puppetlabs/pe_patch#93 ·
查看 puppetlabs/pe_patch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
:bank: debt
难度 2/5 1-3 小时 新手友好度 75/100
cucumber/cucumber-ruby-core#346 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
TheOdinProject/curriculum#31467 · 2 条评论 ·
维护者通常 1 天内回复
-
message-patterns
难度 2/5 1-3 小时 新手友好度 65/100
sisimai/rb-sisimai#468 ·