You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your suggestion. I thought about it but I wasn't sure how to do it. I mean, I can provide a PHP package, but maybe it is better to provide a Drush command, because the script is only for Drupal installations. Also, using a separate PHP package would allow total freedom while using Drush I need to stick to drush commands rules.
Additionally, a bash script has no dependencies. Using a PHP package you need at least PHP... what it sounds reasonable because Drupal uses PHP, but in this world of containers and other tech magic it could happen that you have the source code but not the PHP interpreter.
Also, at some point on this road it seems natural to convert the script to PHP code.
So, I'm not sure what to do. PHP package that runs a bash script? Keeping this repo as a dependency on that PHP package so the functionality is available as PHP package and as simple bash script? The same but using a Drush command instead of a simple PHP package?
A drush command seems a good choice.
Open an issue/feature on https://github.com/drush-ops/drush/issues that point to this repo and see I you get good feedbacks.
Then propose an MR ?
Your script should be provided as a composer package so it could easily added to a projet:
composer require metadrop/drupal-fix-permissions-script
.This package should also provide a composer custom command such as
composer drupal_fix_permissions
The text was updated successfully, but these errors were encountered: