Add "Supported Distros" column to Features table (and consider adding to spec)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- html, json
调研方向
从 https://containers.dev/features 上的 Features 表格以及 https://containers.dev/implementors/features/ 上的 Features 实现说明开始。然后找到 devcontainer-feature.json 规范,并确定应如何表示受支持的 distro 信息,以及如何在表格中呈现这些信息。请求的兼容性信息得到一致记录,并且在规范变更获接受的情况下包含该变更,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I've encountered situations where I want to add a Feature to a devcontainer configuration, only to discover later that it supports only certain distros or package managers. This typically becomes apparent only at build time, leading to wasted effort.
To improve the experience, I'd like to suggest adding a "Supported Distros" column to the Features table at https://containers.dev/features. Displaying this information up front (rather than having it buried in project READMEs) would make it easier to determine whether a Feature can be used with a specific base image or distro, saving time and reducing confusion.
Since the spec already acknowledges this limitation in the docs:
Note: While Features may be installed on top of any base image, the implementation of a Feature might restrict it to a subset of possible base images. For example, some Features may be authored to work with a certain Linux distro (e.g. debian-based images that use the apt package manager).
It might be worth adding a supportedDistros property to the devcontainer-feature.json spec itself. This would improve discoverability, allow the documentation to be auto-generated and ensure distro compatibility is consistently documented across all Features.
Thanks for considering this enhancement!
- 主要语言
- HTML
- 星标
- 207
- 派生
- 435
- 平均合并
- 2 天 7 小时
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/devcontainers.github.io 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 2/5 1-3 小时 新手友好度 42/100
devcontainers/devcontainers.github.io#693 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
-
D 未关闭
难度 5/5 一周以上 新手友好度 1/100
查看 devcontainers/devcontainers.github.io 的全部 Issue
相似的 Issue
-
user-reported
难度 2/5 1-3 小时 新手友好度 85/100
Kong/developer.konghq.com#7316 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
HarperFast/skills#96 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 82/100
infinispan/infinispan#18150 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
fullcalendar/fullcalendar#8106 ·