Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Resolve older swift releases on noble from the tool-versions data

Đang mở
#7,971 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ 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
tooling

Hướng nghiên cứu

Start in the resolver and compare its distro fallback and minimum-version handling with the existing minCb ranges. Read src/cli/tools/swift.ts for how Swift installs older releases from the 22.04 archive. Add specs for swift-like data on noble and resolute, plus php-like data on resolute; done means the examples resolve or skip at the specified versions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

install-tool swift 5.9 (or latest of an older line) on noble can't resolve from the tool-versions data: swift has noble builds from 5.10.1 on, so #7969 keeps noble hosts on noble builds only, and every older release (distros: ["jammy"]) is skipped, although the swift installer installs those from the 22.04 archive (src/cli/tools/swift.ts).

The data is right, the older releases only have a 22.04 archive, so the fix belongs in the resolver:

  • Fall back to older distro builds per version instead of per tool: a release without files for the host distro may use the files of an older Ubuntu release.
  • Apply the tool's distroMinVersion of the host distro by position, like the minCb ranges: the versions below the listed distroMinVersion version are skipped for that distro, no versioning needed. This keeps swift on resolute at 6.4.0 and php on resolute at 8.1.31.
  • Specs: swift-like data on noble (5.9 resolves via jammy) and resolute (6.3 skipped), php-like data on resolute.

Drafted by Claude Code (Claude Opus 5.5).

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

Mở trong Codespaces

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của containerbase/base

Tất cả issue của containerbase/base

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.