[wp-trac] [WordPress Trac] #52909: git repo README.md should include instructions to install svn
WordPress Trac
noreply at wordpress.org
Thu Mar 25 20:19:25 UTC 2021
#52909: git repo README.md should include instructions to install svn
-------------------------------+------------------------------
Reporter: czapla | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: docs
-------------------------------+------------------------------
Comment (by czapla):
Hi @desrosj !
Thanks for the welcome! My first WordPress ticket as you can tell 😊
Are you seeing an error when SVN is not installed when running
`env:install`?
> That's correct.
> This command should be instructing Docker to execute the command within
the local Docker development environment, which does have SVN installed.
Oh, in that case, I believe that the whole command should be passed to the
shell with `sh -c` or the second command should be prefaced with `docker-
compose exec -T <container>` like:
`docker-compose exec -T php svn checkout -r <rest of the command...>`
This is per: https://docs.docker.com/engine/reference/commandline/exec
/#extended-description
> COMMAND should be an executable, a chained or a quoted command will not
work. Example: `docker exec -ti my_container "echo a && echo b"` will not
work, but `docker exec -ti my_container sh -c "echo a && echo b"` will.
(These are the docs for the `docker` command, but it works the same for
`docker-compose`)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52909#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list