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

Add support for feature order definition in devcontainer definitions

Aperta
#226 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go

Direzione di ricerca

Inizia in devcontainer/devcontainer.go, nel codice collegato relativo all’ordinamento delle feature, e leggi la sezione sull’ordine di installazione della specifica devcontainer. Traccia il caricamento dei metadati delle feature da devcontainer-feature.json e della configurazione da devcontainer.json. Il lavoro è completo quando dependsOn, installsAfter e overrideFeatureInstallOrder influenzano l’ordine di esecuzione e il comportamento non supportato è documentato come mostrato da PR #219.

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

Descrizione

Currently, the order that features are executed as part of the container build is alphabetically sorted in the following code, where there is a TODO to implement support for the "installation order" that is part of the devcontainer spec: https://containers.dev/implementors/features/#installation-order

https://github.com/coder/envbuilder/blob/c72728897e91e713958a8ca0c7211574784ae79e/devcontainer/devcontainer.go#L236-L244

The ask in this issue is to implement support for:

  • The dependsOn property defined as a part of a Feature’s devcontainer-feature.json.
  • The installsAfter property defined as part of a Feature’s devcontainer-feature.json.
  • The overrideFeatureInstallOrder property in user’s devcontainer.json. Allows users to control the order of execution of their Features.

I wasn't able to find an existing issue tracking this, but let me know if there is! Happy to also provide more context on why this is a useful feature if that helps in prioritizing this. Features with any sort of dependencies are unusable in most cases unless the alphabetical ordering happens to line up.


In the meantime, it would be helpful to have this documented in the way that this PR did for other unsupported features: https://github.com/coder/envbuilder/pull/219

Lingua principale
Go
Stelle
300
Fork
64
Merge medio
20m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 coder/envbuilder

Tutte le issue di coder/envbuilder

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.