Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR] Checkout and initialize wordpress-develop in /tmp/ #969

Merged
merged 1 commit into from
Aug 20, 2016

Conversation

jeremyfelt
Copy link
Member

The installation of local npm packages was running into trouble
due to what is likely a race condition caused by slow shared drives
between the host and guest machines. This is mostly a guess, but
seems plausible.

We can instead handle the initial SVN checkout, the npm package
installation, and the initial build via grunt in the VM's /tmp
machine. Once this is all prepped, it is then moved to the final
location in /srv/www/wordpress-develop before other scripts that
install WordPress run.

Anything involving files runs quite a bit quicker during the initial
setup. The move of the directory takes a long while though, which
kind of negates the original speed. :)

But speed isn't the problem, incomplete local npm packages is.

Fixes #825.

The installation of local npm packages was running into trouble
due to what is likely a race condition caused by slow shared drives
between the host and guest machines. This is mostly a guess, but
seems plausible.

We can instead handle the initial SVN checkout, the npm package
installation, and the initial build via grunt in the VM's `/tmp`
machine. Once this is all prepped, it is then moved to the final
location in `/srv/www/wordpress-develop` before other scripts that
install WordPress run.

Anything involving files runs quite a bit quicker during the initial
setup. The move of the directory takes a long while though, which
kind of negates the original speed. :)

But speed isn't the problem, incomplete local npm packages is.

Fixes #825.
@jeremyfelt jeremyfelt added this to the Next Release milestone Aug 20, 2016
@jeremyfelt jeremyfelt self-assigned this Aug 20, 2016
@jeremyfelt jeremyfelt merged commit b3f7887 into develop Aug 20, 2016
@jeremyfelt jeremyfelt deleted the move-after-npm branch August 20, 2016 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant