[wp-trac] [WordPress Trac] #57896: Improve devcontainer + Codespaces support

WordPress Trac noreply at wordpress.org
Thu Mar 9 15:41:09 UTC 2023


#57896: Improve devcontainer + Codespaces support
------------------------------+----------------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+----------------------------
 Background: #57187.

 Codespaces support was introduced in [55303] and adjusted in [55353].

 @johnbillion raised some follow-up points in comment:23:ticket:57187:

 > 1. `README.md` needs to document the three environment choices now
 available to devs (Codespaces, local devcontainer, local environment).
 > 2. The devcontainer doesn't use the same environment for WordPress that
 you get when you follow the "Local development" instructions in the
 readme. We're going to end up with two confusingly separate but similar
 environments. Could and should the same environment be used to run
 WordPress within the devcontainer?
 > 3. `setup.sh` assumes the workspace directory name is `/workspaces
 /wordpress-develop` but the local directory name may differ. The
 `${localWorkspaceFolderBasename}` variable needs to be passed in to that
 script from `devcontainer.json`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57896>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list