Skip to content

Drush 10 and drupal 8-9 ready hacks #21

@aleixq

Description

@aleixq

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions