Closed (fixed)
Project:
Aegir Hosting Tasks Extra
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2016 at 16:16 UTC
Updated:
22 Dec 2016 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
colan+1.
Please make sure that the option is only added if the version of Drush supports it. I'm quite sure it'll fail otherwise.
Comment #3
grimreaperHere is a first patch.
I am currently searching how to verify the Drush compatibility to display or not the checkbox.
Comment #4
grimreaperI also did not see the Drupal major version stored for the site or the platform.
I think to be able to add condition on the checkbox, we need to store the Drush version somewhere and also the Drupal major version in the platform or in the site.
For the moment I will stay on my first patch and will see another issue.
Comment #5
helmo commentedDrush 8 is the first version that supports Drupal8 anyway ... so I see no need for an extra check there.
Checking for the drupal core version is possible though ... see patch.
Comment #6
grimreaperHello,
Thanks @helmo. I tested your patch and it is ok.
Comment #7
colanMight want to do ">= 8" here. Looks good otherwise.
Comment #8
grimreaperThanks for the review.
Here is a patch that take @colan suggestion into account.
Comment #11
helmo commentedadded #8