[wp-trac] [WordPress Trac] #47767: Simplify and backport the local environment

WordPress Trac noreply at wordpress.org
Sat Jul 27 02:52:01 UTC 2019


#47767: Simplify and backport the local environment
-------------------------------------+-----------------------
 Reporter:  pento                    |       Owner:  pento
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.3
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+-----------------------

Comment (by pento):

 Replying to [comment:11 mcsf]:
 > This is quite tricky. (Is it OK if I have a deep longing for Makefiles?)

 If Makefiles were a reliable option for Windows, I'd be right there with
 you. 🙂


 Replying to [comment:12 pbearne]:
 > I am trying to test as "the dumb windows user"
 >
 > I can't get to work
 > steps I have done
 >
 > Download clean copy from SVN https://develop.svn.wordpress.org/trunk/
 >
 > applied the patch (not sure it applied cleanly)
 >
 > tried to run npm in the root and local-env folders
 >
 >
 > {{{
 > $ npm run env:start
 >
 >
 > > WordPress at 5.3.0 env:start C:\Users\pbear\Documents\code\SVN-core-wp
 > > ./tools/local-env/start.sh
 > }}}

 Thank you for testing, @pbearne! It looks like the patch didn't apply
 correctly, as the `./tools/local-env/start.sh` script is removed by this
 patch.

 Could you describe how you applied the patch, and any messages that showed
 when you applied it?

 It's also worth noting that you should use [attachment:"47767.3.diff"],
 not [attachment:"47767.4.diff"]. The former is correct for `trunk`, the
 latter is a proof of concept backport for the 3.7 branch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47767#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list