What is the best way to use hatch in devcontainer.json on GitHub Codespaces? #829
antonymilne
started this conversation in
General
Replies: 1 comment 2 replies
-
Having a similar issue. Did you ever find a solution? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Hatch on a project and would like to use GitHub Codespaces. There is a Hatch feature available, but it doesn't appear to be well used.
So I'm wondering what would be the best pattern to follow here. Ultimately, what I'd like is a fast and efficient system that opens up Codespaces that has at least Hatch's
default
environment, and ideally others, already created (i.e.hatch env create ...
). This way the user shouldn't need to wait for the environment to be installed on the fly when they open a new Codespace. I believe there should be some good way to achieve this using some appropriate lifecycle scripts and possibly tinkering with Hatch'scache
setting.Has anyone done this before? 🙂 I can probably figure it out myself if not, but I thought others might be interested in this topic too so best to start a discussion anyway.
Beta Was this translation helpful? Give feedback.
All reactions