[wp-trac] [WordPress Trac] #57187: Add devcontainer + Codespaces support

WordPress Trac noreply at wordpress.org
Thu Feb 23 17:37:42 UTC 2023


#57187: Add devcontainer + Codespaces support
------------------------------+---------------------
 Reporter:  helen             |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  6.2
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------

Comment (by johnbillion):

 Did this get tested much at WordCamp Asia contributor day?

 The devcontainer is working fine for me now, I had to clear out some
 Docker networking config that was also affecting containers in other
 projects.

 Brain dump items that we can either address here or in follow-up tickets:

 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/57187#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list