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

Reject tool versions below the minimum supported version

Đang mở
#7,772 1 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/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, typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start with the base validate() in the install services, then the minVersion constants in the git, nix and vp tools that the issue says to replace. The minVersion metadata field comes from #7771, which must land first, and the issue does not say how versions are compared, so check the tool's versioning code. Done means a version below the minimum fails with a message naming the minimum, and version resolution skips releases below it. Docs in docs/tools.md should list each minimum.

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

Mô tả

breaking

What would you like containerbase to do?

Make the CLI reject tool versions below the minVersion of the tool metadata (#7771), instead of installing them.

Proposal

  • The base validate() of the install services checks the requested version against the tool's minVersion, compared with the tool's versioning, and fails with a clear message naming the minimum.
  • git, nix and vp drop their own minimum constants and use the shared field.
  • Version resolution doesn't resolve a partial version to a release below the minimum.
  • Docs: the minimum per tool in docs/tools.md or the tool docs.

Breaking change

Images and Renovate setups which install an older version than the minimum stop working, so this ships in a major release, with the minimums listed in the release notes.

Depends on #7771. Part of #7674.

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

Ngôn ngữ chính
TypeScript
Star
58
Fork
65
Merge trung bình
11 giờ 31 phút
Pull request đã merge (30 ngày)
443

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.