Resolve every tool's versions through the tool-versions data
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, github, typescript
Hướng nghiên cứu
Start by reading the resolver changes in #7826 and the embedded fallback work in #7825, then trace the tool-version data flow between containerbase/base and containerbase/tool-versions. Compare tools with registry lookups, swallowed errors, or special constraints such as Poetry's plugin range. Done means every tool resolves latest, partial, and exact versions through online data with embedded fallback, while respecting release age and tool-specific limits.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What would you like containerbase to do?
Give every tool a version resolver and resolve all of them through the tool-versions data.
Today the tools are covered unevenly:
-
some tools have no resolver and only get the generic partial-version lookup from #7826
-
some resolvers only handle
latest(php, composer, mise) -
some resolvers catch their own lookup errors and keep the input, so the embedded fallback from #7825 never runs (nuget, gradle, maven, pip), eg.
install-tool nuget 6.11downloadsv6.11whentools.jsoncan't be reached -
some resolvers apply more than a version lookup, which the embedded fallback skips, eg. poetry's
latestrespects the version range ofpoetry-plugin-pypi-mirror, the offline fallback picks the newest embedded release
Required changes
- one resolver per tool, based on the tool-versions data (online first, embedded as fallback)
-
latest, partial and exact versions resolve the same way for every tool - lookup errors aren't swallowed, the shared fallback handles them
- tool-specific limits, like poetry's plugin range, also apply to versions from the tool-versions data
- a minimum release age (eg. 1 hour) for
latestand partial versions, so a new release isn't picked before all its downloads are reachable: in tool-versions when publishing, and in resolvers that still ask a registry directly. Eg.install-pip pipenv 2026resolved to 2026.10.2 from the PyPI JSON api 6½ minutes after the upload, while pip's index still ended at 2026.10.1. - drop the interim
partialflag from #7826
Some resolutions change for users, eg. a partial version that was used as is resolves to the newest matching release. That is accepted, the embedded data keeps installs working when the online lookup fails.
Part of #7768.
Drafted by Claude Opus 5.5 (Claude Code) for @viceice.
- Ngôn ngữ chính
- TypeScript
- Star
- 58
- Fork
- 65
- Merge trung bình
- 10 giờ 37 phút
- Pull request đã merge (30 ngày)
- 462
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 containerbase/base
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
containerbase/base#7891 ·
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
containerbase/base#7842 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority-3-normal tool/dotnet
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
containerbase/base#5996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 65/100
containerbase/base#7971 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
containerbase/base#7970 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của containerbase/base
Issue tương tự
-
area: image-engine bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
snapotter-hq/SnapOtter#3885 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mend: dependency security vulnerability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 3 ngày
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P3 UI/UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
openclaw/openclaw#182077 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày