Docs: document `vg scan` runtime pin-file fallbacks and their precedence
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Đọc phần Runtime Pins của DOCS.md và thứ tự ưu tiên của trình quét được xác nhận trong 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 và test/go-toolchain-directive.test.ts. Thêm bảng ngôn ngữ với các nguồn theo thứ tự ưu tiên và những gì vg scan hiện không đọc, rồi liên kết đến bảng này từ khu vực hỗ trợ ngôn ngữ của scan. Hoàn thành khi bảng khớp với các kiểm thử đó, mô tả Rust dựa trên edition và không đưa thêm hành vi runtime.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- 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.
- Ngôn ngữ chính
- TypeScript
- Star
- 4
- Fork
- 3
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của vibgrate/cli
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
documentation Entwickler
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 89/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:frontend bug ci-test level:low priority:high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
skytuhua-org/Gen-V1#2974 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area: cli area: core priority: P3 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
appandflow/stim#6736 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
naomiaro/waveform-playlist#973 ·
Maintainer thường phản hồi trong vòng 1 ngày