Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Reject tool versions below the minimum supported version

Aperta
#7,772 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, typescript
Ambito
cli

Direzione di ricerca

Start with the base validate() in the install services, then the minVersion constants in the git, nix and vp tools that the issue says to replace. The minVersion metadata field comes from #7771, which must land first, and the issue does not say how versions are compared, so check the tool's versioning code. Done means a version below the minimum fails with a message naming the minimum, and version resolution skips releases below it. Docs in docs/tools.md should list each minimum.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

breaking

What would you like containerbase to do?

Make the CLI reject tool versions below the minVersion of the tool metadata (#7771), instead of installing them.

Proposal

  • The base validate() of the install services checks the requested version against the tool's minVersion, compared with the tool's versioning, and fails with a clear message naming the minimum.
  • git, nix and vp drop their own minimum constants and use the shared field.
  • Version resolution doesn't resolve a partial version to a release below the minimum.
  • Docs: the minimum per tool in docs/tools.md or the tool docs.

Breaking change

Images and Renovate setups which install an older version than the minimum stop working, so this ships in a major release, with the minimums listed in the release notes.

Depends on #7771. Part of #7674.

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

Lingua principale
TypeScript
Stelle
58
Fork
65
Merge medio
11h 54m
PR unite (30g)
428

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di containerbase/base

Tutte le issue di containerbase/base

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.