OS version check prevents usage on unsupported platforms
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
调研方向
首先检查 manifests/init.pp 第 97-106 行附近的内容,其中描述了不受支持平台的检查。验证模块在 Debian 9 和 Debian 12 上的行为,然后确认用户可以提供默认值,而不会导致模块在不受支持的平台上失败。
由索引模型根据 Issue 内容生成。
描述
Use Case
Sometimes it happens that stuff runs on legacy platforms for reasons. The code in
https://github.com/puppetlabs/puppetlabs-java/blob/main/manifests/init.pp#L97-L106 prevents the use of the module on unsupported platforms. This pattern is quite unique to this module. For example it prevents the use of the same module on Debian 9 (supported until v10.x.x) and Debian 12 (supported since v11.x.x)
When a new version is released user should be able to define default values in his own environment and allow the use on an unsupported platform.
Describe the Solution You Would Like
Remove the failure on unsupported platforms.
Describe Alternatives You've Considered
Having separate branches of the control repo with different module versions. I prefer a single main branch for all environments though. Multiple control-repo branches lead to merge overhead and/or rotting branches.
Different module versions in different branches can also become an issue with inconsistent types.
Additional Context
https://puppetcommunity.slack.com/archives/CFD8Z9A4T/p1713871729247549
- 主要语言
- Ruby
- 星标
- 101
- 派生
- 274
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
puppetlabs/puppetlabs-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
puppetlabs/puppetlabs-java#618 ·
-
难度 2/5 1-3 小时 新手友好度 38/100
puppetlabs/puppetlabs-java#615 ·
-
难度 2/5 1-3 小时 新手友好度 42/100
puppetlabs/puppetlabs-java#604 ·
-
community
难度 3/5 1-2 天 新手友好度 32/100
puppetlabs/puppetlabs-java#566 · 3 条评论 · 1 个 reaction ·
查看 puppetlabs/puppetlabs-java 的全部 Issue
相似的 Issue
-
content good first issue
难度 2/5 1-3 小时 新手友好度 66/100
rubyevents/rubyevents#2182 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Homebrew/homebrew-cask#293134 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
notch8/iiif_print#430 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复