Prefix packages of install-gem, install-npm and install-pip with their type to avoid tool name clashes
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, typescript
- Área
- tooling
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 58
- Forks
- 65
- Merge medio
- 7 h 12 min
- PR fusionados (30 d)
- 503
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de containerbase/base
-
Stop installing bzr for golangAbiertobreaking
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
containerbase/base#8022 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
containerbase/base#7891 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
containerbase/base#7842 ·
Los mantenedores suelen responder en 1 día
-
priority-3-normal tool/dotnet
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
containerbase/base#5996 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
containerbase/base#8160 ·
Los mantenedores suelen responder en 1 día
Todos los issues de containerbase/base
Issues similares
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info onlyAbiertoenhancement from-x
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
nightly-labs/openbot#4867 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
egonSchiele/agency-lang#1377 ·
Los mantenedores suelen responder en 1 día
-
normalizePath removes the Windows device namespace prefixPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
caprover/caprover-frontend#273 ·
Los mantenedores suelen responder en 1 día