-
Notifications
You must be signed in to change notification settings - Fork 69
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
Refactor of Environment #146
Comments
Do you mean a single install/plugins/network folder for wordpress.org, and then other installs for wordcamp.org, jobs.wordpress.net, etc; or do you mean a single multi-network for all the sites, even the ones that aren't part of the production wordpress.org multi-network? |
I had no idea that those were completely separate installations, do you have information on how production is structured and which sites are on which installs? |
The current provisioners are setup pretty close to production.
There's lots more sites and some other complexity -- we've been around for 20 years after all -- but that's the gist of it. It doesn't seem like it'd be simple to combine all those codebases into a single multi-network install, and still stay close enough to production to be a reliable match. For example, wordpress.org and wordcamp.org both have I could be wrong, though, and we could make some intentional breaks from production in order to make contributing easier. Committers always have their w.org sandboxes to use as staging environments before deploying. |
Then how about this:
This way it's super easy to setup with MAMP or another native setup. We can use WP Env via This way everybody gets to use what they want to use, they don't have to provision all the things, most if not all the maintenance scripts can be eliminated and offloaded, etc |
That's actually pretty close to what is happening already, just not really documented/communicated as such. WordCamp.org has it's own docker setup, learn.wordpress.org has it's own wp-env environment, the Pattern Directory has it's own wp-env, some work-in-progress of migrating the Theme Directory over to wp-env, and I know a few others are in the works as contributions happen. If there's anything you'd like to contribute specifically @tomjn I'd probably just work on a self-contained wp-env setup for it (if it doesn't yet exist), noting that wp-env has some significant shortcomings in more complex setups (that's a tradeoff for simplicity in anyone being able to use it) The biggest issue is the interconnected-ness of WordPress.org, and reliance upon other systems, Getting all the sites working "like production" is much harder than one would anticipate at times. Getting just the theme running without the rest of the functionality is easier though.
Having everything in a mono-repo also makes it harder, as using git means pulling the entirety of the meta repo and only using two folders out of a million (which is why Learn and WordCamp.org are easier being self-contained). |
A QQ, most of those have a |
The main thing it's solving is that the |
Currently the sites can be turned on or off via custom options in This way existing users can change an option in their |
I propose the following:
.org is a multi-network multisite, it would be easier if we just leaned into that. This eliminates a lot of the complexity, as well as a Windows compatibility issue ( symlinks require admin privileges ), and brings it a little closer to production
Since this repo was created, VVV itself has moved forwards, we now have a
folders:
key, so in theory you could reproduce a single .org site using justconfig.yml
and the standard site if you knew which repos go whereThe text was updated successfully, but these errors were encountered: