Allow uninstalling inactive git versions
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 58
- フォーク
- 65
- 平均マージ
- 11時間 31分
- マージ済み PR(30日)
- 443
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
containerbase/base のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
containerbase/base#7891 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
containerbase/base#7842 ·
メンテナーはふだん 1 日以内に返信
-
priority-3-normal tool/dotnet
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
containerbase/base#5996 ·
メンテナーはふだん 1 日以内に返信
-
git prebuild (OpenSSL) breaks HTTPS on FIPS-enabled hosts: "Insufficient randomness"対応中かも @ollie-sutton が 1 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
containerbase/base#7922 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
containerbase/base#7908 ·
メンテナーはふだん 1 日以内に返信
containerbase/base の issue をすべて見る
似ている issue
-
area:agent-view area:tui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#104558 ·
メンテナーはふだん 1 日以内に返信
-
updater
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
inmanta/web-console#7606 ·
メンテナーはふだん 1 日以内に返信
-
bug skills
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
equinor/fusion-framework#5846 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100