Docs: document `vg scan` runtime pin-file fallbacks and their precedence
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
阅读 DOCS.md 的 Runtime Pins 部分,以及 test/node-runtime-pin.test.ts、test/python-runtime-pin.test.ts、test/python-pipfile-runtime.test.ts、test/php-config-platform-runtime.test.ts 和 test/go-toolchain-directive.test.ts 中断言的扫描器优先级。添加一张语言表,按优先级列出来源以及 vg scan 当前不会读取的内容,并从 scan 的语言支持区域链接到该表。完成标准是表格与这些测试相符,将 Rust 描述为基于 edition,并且不引入运行时行为。
由索引模型根据 Issue 内容生成。
描述
- Difficulty: small
- Area: Docs
Problem
Runtime fallbacks are spread across scanners and individual closed issues, but DOCS.md has no single table a contributor can trust. The Platform Matrix section (around line 5882) mentions .nvmrc / .node-version and “.NET TargetFramework and SDK versions”, which is a different scanner and does not describe vg scan precedence.
People cannot see, in one place, that:
- Node:
engines.node>volta.node>.nvmrc>.node-version(and, if #4 is accepted,.tool-versions) - Python:
requires-python/ Poetry /python_requires/ Pipfile[requires]>.python-version>.tool-versions - Ruby: the Gemfile / gemspec ruby line >
.ruby-version>.tool-versions - Elixir:
mix.exselixir:>.tool-versions - PHP:
require.php>config.platform.php(pin files only if #5 is accepted) - Go:
toolchain>go(andgo.envonly if #7 is accepted) - Rust: currently the edition year, not
rust-version(see issue 17) - Java: POM / Gradle toolchain first (pin files only if #6 is accepted)
Expected behaviour
Add a short “Runtime pins” subsection to DOCS.md (linked from the vg scan language-support area) with a table: language, sources in precedence order, and what is not read today. Do not promise fallbacks that are not in the code yet; if a companion PR implements one of the issues above, update the table in that same PR. Keep the wording consistent with the existing scanner docs voice.
Acceptance
- The table matches the precedence already asserted in
test/node-runtime-pin.test.ts,test/python-runtime-pin.test.ts,test/python-pipfile-runtime.test.ts,test/php-config-platform-runtime.test.ts, andtest/go-toolchain-directive.test.ts. - Rust is described honestly as edition-based until issue 17 lands.
- README or the scan section of DOCS.md links to the table.
- No new runtime behaviour in a docs-only PR.
- 主要语言
- TypeScript
- 星标
- 4
- 派生
- 3
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 76
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
vibgrate/cli 的其他 Issue
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
相似的 Issue
-
area: documentation status: in progress type: documentation
难度 1/5 1 小时以内 新手友好度 76/100
Oddmash/oddmash-ui#222 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
appium/appium-wincore-driver#169 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
india-ultimate/hub#715 ·
维护者通常 1 天内回复
-
documentation Entwickler
难度 1/5 1 小时以内 新手友好度 89/100
维护者通常 1 天内回复