Allow uninstalling inactive git versions
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
- 1-2 ngày
- Mức phù hợp với người mới
- 55/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
Hướng nghiên cứu
Start by reading GitInstallService and InstallToolService.uninstall, then inspect the version service check mentioned in the proposal and the existing uninstall tests. Add coverage for removing an inactive git version, refusing to remove the active one, and the chosen --all behavior. Done means inactive versions and their links can be removed while the active version remains protected with a clear message.
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?
Allow uninstall-tool git <version> for versions that aren't the active one.
Background
git comes from the containerbase prebuild now (#7813), so every install-tool git <version> adds a version under the tools folder. GitInstallService sets canUninstall = false, so old versions can't be removed and pile up in images that switch versions.
Removing the active version must stay refused: it backs the git links, the /usr/bin compatibility links and the containerbase-git apt package.
Proposal
- Let a tool refuse only the uninstall of its active version (e.g. a
canUninstallmode or a check inInstallToolService.uninstallviaversionSvc.isCurrent), instead of refusing every version. - Use it for git: inactive versions are removed with their folder and links, the active one keeps failing with a clear message.
uninstall-tool git --allremoves every inactive version and keeps the active one, or fails before removing anything — pick one and document it.- Tests for both cases.
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
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
-
git prebuild (OpenSSL) breaks HTTPS on FIPS-enabled hosts: "Insufficient randomness"Có thể đã có người làm @ollie-sutton đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
containerbase/base#7922 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
containerbase/base#7908 ·
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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
db-ux-design-system/core-web#8613 ·
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 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
callstackincubator/simlock#934 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Log page not working after errorĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gchq/LD-Explorer#286 ·
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 62/100
foxglove/mcap#1907 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày