-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make drush_drupal_version() pull from Boot classes #1724
Comments
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
quicksketch
added a commit
to quicksketch/drush
that referenced
this issue
Oct 30, 2015
weitzman
added a commit
that referenced
this issue
Nov 4, 2015
Issue #1724: Move logic for version information into Boot classes.
Thanks @weitzman and @greg-1-anderson! |
mikeker
pushed a commit
to mikeker/drush
that referenced
this issue
Feb 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With #342 and other enchancements, we have Boot classes that separate out the version-specific logic when bootstrapping D6/D7/D8 (and Backdrop).
One area where we're having trouble in Backdrop land is that
drush_drupal_version()
is hard-coded to look in particular areas for theVERSION
constant. As Backdrop wants to identify itself as D7 (for now), but the logic is hard-coded, we are unable to make drush recocognize Backdrop without some pretty sad hacking (like making an empty file atincludes/bootstrap.inc
that contains aVERSION
constant).Separating out the logic for different versions of Drupal is what Boot classes were intended for, so could we move the logic of
drush_drupal_version()
into these classes?The text was updated successfully, but these errors were encountered: