Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support worktree development #7

Open
James-Mart opened this issue May 23, 2023 · 0 comments
Open

Support worktree development #7

James-Mart opened this issue May 23, 2023 · 0 comments
Assignees

Comments

@James-Mart
Copy link
Member

Currently if I create a git worktree within psibase-contributor, there are several "gotchas" that confuse development.

  1. If you want debugging support, you need to update the default .gdbinit at /root/
  2. 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
  3. 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
  4. 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.

@James-Mart James-Mart self-assigned this May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant