coder / coder/envbuilder

feat: Add a way to select a specific branch before building the devcontainer

Aperta
#266 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
300
Fork
64
Merge medio
20m
PR unite (30g)
1

Descrizione

### Description

Improve feature parity with `github codespaces`.

The goal is to add a new `coder_parameter` called `target branch` to workspace templates.
It will let the user select a branch from which to build a devcontainer.

Unlike the devcontainer cli, the `git clone` happen in the `enbuilder` container.
So I think it is the responsibility of `envbuilder` to checkout to the target branch **before building the container**.

---

PS: The [workaround in readme.md](https://github.com/coder/envbuilder?tab=readme-ov-file#git-branch-selection) does not work on all platforms.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.