Force cloning or pull of repo on each run of envbuilder
- Langage dominant
- Go
- Étoiles
- 300
- Forks
- 64
- Merge moyen
- 20 min
- PR mergées (30 j)
- 1
Description
When using envbuilder and restarting my workspace I nearly always want a fresh copy of the repo, but when using a pvc similar to this [example template](https://github.com/coder/coder/blob/main/examples/templates/devcontainer-kubernetes/main.tf) I envbuilder simply finds the existing repo, prints:
```
#1: 📦 Cloning MY_REPO...
#1: 📦 The repository already exists! [5.29944ms]
```
I see no way to force envbuilder to either clone it each time or, preferably, run a git pull to ensure the repo is fresh between rebuilds, but this would make the process more intuitive for our users.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par suivre le chemin de configuration du dépôt envbuilder qui émet le message « repository already exists », en utilisant comme contexte le modèle Kubernetes lié. Déterminez comment une nouvelle exécution devrait actualiser un dépôt existant, puis vérifiez que le redémarrage d’un workspace produit l’état initial attendu du dépôt ; l’issue ne nomme aucun fichier ni test.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- git, go
- Domaine
- developer-experience, devops
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100