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

Drush 10 and drupal 8-9 ready hacks #21

Open
aleixq opened this issue Oct 7, 2020 · 0 comments
Open

Drush 10 and drupal 8-9 ready hacks #21

aleixq opened this issue Oct 7, 2020 · 0 comments

Comments

@aleixq
Copy link

aleixq commented Oct 7, 2020

Hi, based on your work I made some hacks to make it work with drupal 8 and 9. I decided to fork it as it change so much. The repo is in gitlab: https://gitlab.com/communia/check_drupal_8

A lot of changes are needed:

  • Will use drush >=10.3.6 ( TBH i test with 10.3.5 patched with drush-ops/drush@6889580 ).
  • As drush needs to be in a drupal-project now and cannot be installed globally it changes the detection of drush also.
  • Will use jq to parse the output in json of drush.
  • Will use drush to get list of security updates.
  • Will use composer to get list of outdated.
  • A new "c" option is added to -w check for drupal status requirements, to allow to guess the global state of the drupal status requirements based on the information collected from all the items in status report: If there's any critical apply the critical, else if there's any warning apply the warning, else if everything is ok apply the OK.
  • --check is replaced by -t and checks for drush, composer and jq.

You can check diff changes in https://gitlab.com/communia/check_drupal_8/-/commit/5bb5598414ba716c8fe192e9b94cc7c17f21fa6f .
Feel free to get the code to merge it back if needed!

thank's a lot!

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

No branches or pull requests

1 participant