pantheon-systems / documentation

Pantheon Docs
https://docs.pantheon.io
Other
194 stars 666 forks source link

Add troubleshooting tip for how to resolve WordPress Composer Managed issues with composer.json removals #9203

Closed jazzsequence closed 2 months ago

jazzsequence commented 2 months ago

Re: Create a Composer-managed WordPress Site with Bedrock

Priority: Medium

Issue Description

It's not infrequent that, when trying to merge upstream updates where the composer.json file has changed, that using the checkbox for Pantheon to "automatically merge" the upstream update diffs will result in most of your composer.json being wiped out in a Composer Managed-based upstream. This is relatively easy to resolve since, locally, you'll usually have the last working copy of the composer file to just re-apply, but this should be documented.

How will this impact users?

Suggested Resolution

Screenshot 2024-09-05 at 9 00 10 AM