eclipse-score / eclipse-score/devcontainer

relax run-tool

Cerrado
#148 1 comentario 0 reacciones 1 asignado Reclamado por @naveena456 Ver en GitHub
good first issue
Lenguaje dominante
Shell
Estrellas
5
Forks
9
Merge medio
16 h 28 min
PR fusionados (30 d)
5

Descripción

When executed without a devcontainer `run-tool` will run it via bazel, even if the tool is installed locally. Thats a waste of time, considering how slow bazel is.

At the time of writing this https://github.com/eclipse-score/devcontainer/tree/main/tools lists `pre-commit` with version `4.5.1`. So If I have that already installed, there is no reason to run uv via bazel.

Suggested approach:
* if the tool is available, query its version. Beware that version flags are inconsistent across tools
* if the version matches exactly, use the tool directly. Future enhancement: fuzzy match, e.g. same major or same major+minor.
* add a --strict flag to the script, which will not use local tools

Note: this is labeled `good first issue` not because its trivial, but because it has a very clear scope.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.