devpod
devpod copied to clipboard
Rebuild does not run dotfiles
What happened? / How can we reproduce the bug? (as minimally and precisely as possible)
- I configured my dotfiles repo in the DevPod settings.
- I created a Workspace (in this case from https://github.com/haukex/igbpyutils on the local Docker provider).
- The Workspace built, with dotfiles being executed, and it opened in VSCode.
- I closed VSCode and selected "Rebuild" in the DevPod UI.
- The build log includes "
debug No dotfiles repo specified, skipping", and when VSCode starts back up, it is clear (from the appearance of the terminal) the dotfiles were not executed. - Close VSCode, and in the DevPod UI, select "Open".
- The build log shows the dotfiles being run, and when VSCode opens, it is clear the dotfiles were run this time.
The above steps reliably reproduce the issue on my system.
What did you expect to happen instead?
I would expect the dotfiles to be executed on a Rebuild.
Local Environment:
- DevPod Version: v0.5.20
- Operating System: Windows 10 Pro 22H2
- ARCH of the OS: AMD64
DevPod Provider:
- Local provider: Docker / WSL2
Hey @haukex, it's been a while since you've opened this issue but I agree, we need to rerun the dotfiles setup when recreating workspaces
Was looking for a workaround and I found that I could manually invoke the install-dotfiles setup from within the rebuilt container, putting the command here in case it helps others.
/usr/local/bin/devpod agent workspace install-dotfiles --repository [dotfiles_repo]
This issue is stale because it has been open for 60 days with no activity.
Commenting so the bot doesn't close this
This issue is stale because it has been open for 60 days with no activity.
No, bad bot, good things take time 😉
This issue is stale because it has been open for 60 days with no activity.
Bad bot