Prefix packages of install-gem, install-npm and install-pip with their type to avoid tool name clashes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, typescript
- 領域
- tooling
調査の方向性
Start by tracing how install-gem, install-npm, install-pip and their uninstall counterparts select resolvers and install services, then check how install-tool <name> uses ResolverMap. Review the version database, tool folders and shell wrappers for unprefixed-name records, and update docs/tools.md to remove the clash notes. Done means prefixed installs and uninstalls avoid tool-name clashes, existing records are migrated or documented, and install-tool still works for ResolverMap tools.
索引モデルが issue の本文から書いたものです。
説明
What would you like containerbase to do?
Stop install-gem, install-npm and install-pip from picking a known tool's own resolver and installer when the package name matches a tool name.
Today the resolver and the install service are both picked by the first name match, and the tool's own ones are registered before the generic ones:
install-gem yarn/install-pip yarninstall the latest@yarnpkg/cli-distfrom npmjs, not ayarngem or pip packageinstall-npm yarninstalls@yarnpkg/cli-dist, not theyarnpackage- the same for every other tool name, eg.
install-pip node uninstall-gem,uninstall-npmanduninstall-piphave the same clash
Required changes
- internally prefix packages installed with
install-gem,install-npmandinstall-pipwith their type and a symbol no tool or package name uses, eg.npm+yarn,gem+yarn,pip+yarn, so they never match a tool's resolver or install service; the symbol must be safe in directory names andPATH(no:or/) - the same for
uninstall-gem,uninstall-npmanduninstall-pip -
install-tool <name>for aResolverMaptool keeps working - migrate or document installs recorded under the unprefixed name (version database, tool folders, shell wrappers)
- remove the name clash notes from
docs/tools.md
Breaking change, next major.
Drafted by Claude Opus 5.5 (Claude Code) for @viceice.
- 主要言語
- TypeScript
- スター
- 58
- フォーク
- 65
- 平均マージ
- 7時間 28分
- マージ済み PR(30日)
- 483
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
containerbase/base のほかの issue
-
breaking
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
containerbase/base#8022 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 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 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
containerbase/base#8151 ·
メンテナーはふだん 1 日以内に返信
containerbase/base の issue をすべて見る
似ている issue
-
area: cli bug flake ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
gazetta-studio/gazetta-studio#1772 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/playwright#43875 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
calagopus/panel#285 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信