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

Use a non-volatile location for ~/.ddev in Gitpod and Codespaces #6228

Open
1 task done
stasadev opened this issue May 21, 2024 · 1 comment
Open
1 task done

Use a non-volatile location for ~/.ddev in Gitpod and Codespaces #6228

stasadev opened this issue May 21, 2024 · 1 comment
Milestone

Comments

@stasadev
Copy link
Member

stasadev commented May 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

When you run a project in Gitpod or Codespaces, ~/.ddev directory is not permanent and reset each time the workspace is stopped.
This means that if the user changed some settings with ddev config global, they will disappear.

Describe your solution

I tested #5813 in Gitpod and Codespaces, it works well.

  • Gitpod: export XDG_CONFIG_HOME=/workspace/.config && ddev version
  • Codespaces: export XDG_CONFIG_HOME=/workspaces/.config && ddev version

We should consider making them a permanent location after v1.23.2 is released.

Open in Gitpod

Open in GitHub Codespaces

Describe alternatives

No response

Additional context

No response

@rfay rfay changed the title Use a permanent location for ~/.ddev in Gitpod and Codespaces Use a non-volatile location for ~/.ddev in Gitpod and Codespaces May 21, 2024
@rfay rfay added this to the v1.23.2 milestone May 21, 2024
@rfay
Copy link
Member

rfay commented May 21, 2024

This will be a huge step for Gitpod and Codespaces (and Drupalpod). Should simplify Drupalpod and make Gitpod in general easier to use. /cc @shaal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants