You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if I create a git worktree within psibase-contributor, there are several "gotchas" that confuse development.
If you want debugging support, you need to update the default .gdbinit at /root/
All the default .vscode/*.json files that are automatically created for you in the default workspace are not created in the worktree workspace, so you need to manually copy/rename them
Environment variables are still the same so running "psitest," "psinode," or "psibase" from the worktree can default to running the tools from the default workspace if they have already been built there
There is no docker volume mounted to /root/psibase.worktrees (the default worktree location), so rebuilding the container will wipe out worktrees.
Probably other issues as well. If worktrees are intended to be supported, it should be relatively simple to create and use one.
The text was updated successfully, but these errors were encountered:
Currently if I create a git worktree within psibase-contributor, there are several "gotchas" that confuse development.
.gdbinit
at/root/
.vscode/*.json
files that are automatically created for you in the default workspace are not created in the worktree workspace, so you need to manually copy/rename them/root/psibase.worktrees
(the default worktree location), so rebuilding the container will wipe out worktrees.Probably other issues as well. If worktrees are intended to be supported, it should be relatively simple to create and use one.
The text was updated successfully, but these errors were encountered: