wp-cli-build icon indicating copy to clipboard operation
wp-cli-build copied to clipboard

Support patches

Open hansfn opened this issue 7 years ago • 2 comments

TLDR: Add support for patches in the build file.

I'm mainly a Drupal developer and hence is used to Drush and install.make / install.make.yaml. I like being able to just commit the make file instead of all the files being part of Drupal and it's contributed modules. Basically, I just commit custom code to Git. The reason I'm able to do this, is that you can include patches in the make file.

PS! I know that the creators of this package know Drush very well so the long explanation is for other people reading the issue.

hansfn avatar Feb 05 '18 07:02 hansfn

@hansfn Thanks for chiming in with the first feature request! The Drush make workflow is of course the inspiration behind this, stay tuned for followup.

perandre avatar Feb 05 '18 08:02 perandre

@hansfn I've checked drush make structure for the patches and they normally put them inside each respective section. I think we should follow the same for wp build, inside each plugin name as we have "version", we should put the patches there like: patches: ['string1', 'string2', 'string3', 'string4', 'string5', 'string6'] wether it's an URL or local file (same applies to the core and themes).

I'll be updating this story when we have further development.

Thanks for your input!

fabioneves avatar Feb 14 '18 16:02 fabioneves