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

[DEPS] Updates Roots to use new full installation option #277

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

PeteWJ
Copy link
Member

@PeteWJ PeteWJ commented Aug 23, 2022

The Roots WordPress installation package has removed the default installation of themes, and therefore does not create the wp-content folder expected by the installer. This results in wp core install failing as it is unable to find expected folders.

The old approach - bundling the themes - is available as a separate package: roots/wordpress-full

This PR changes to that new package.

Details of the change in the package can be found here https://roots.io/updates-to-roots-wordpress-composer-package/

@anthonywnz
Copy link
Contributor

It sounds like we can remove roots/wordpress then?

@PeteWJ
Copy link
Member Author

PeteWJ commented Aug 24, 2022

@anthonywnz ... now that would make an awful lot of sense 🤦🏻

@anthonywnz
Copy link
Contributor

anthonywnz commented Aug 24, 2022

Hmm... Maybe not... Or maybe we just need https://packagist.org/packages/roots/wordpress-core-installer too?

Let me know if you want me to pick this up :) (since you're generally very busy lol)

@anthonywnz
Copy link
Contributor

I think that's it, see the requirements section on https://packagist.org/packages/roots/wordpress-full

Requirements
A WordPress Core Installer package is required to handle installation path.
Roots provides roots/wordpress-core-installer, see the usage docs.

@PeteWJ
Copy link
Member Author

PeteWJ commented Aug 24, 2022

@anthonywnz ... nice. I've just added that and built locally. Seems like the tests are happy too.
Are you able to pull a fresh copy down and check all is working for you?

Copy link
Contributor

@anthonywnz anthonywnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pulled down this branch and spun up a fresh project from it. All working fine!

@PeteWJ PeteWJ force-pushed the update-roots-to-use-full-install branch from 7849826 to 2da5516 Compare August 25, 2022 10:04
@PeteWJ PeteWJ merged commit 92ce1b1 into main Aug 25, 2022
@PeteWJ PeteWJ deleted the update-roots-to-use-full-install branch August 25, 2022 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants