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
When backdrop boot classes are present drush does not work on drupal 7 sites. #9
Comments
One way around this if you need to use drush on drupal and backdrop sites is to download a second copy of drush from github.com/drush-ops/drush and put the contents of this repo inside the For example:
You will now have access to the command we could put this in the README.md as a section for people using Backdrop and Drupal with drush? |
I can reproduce this issue. I have Backdrop's Drush integration in
Yeah this is actually what I started out doing. But the problem for many Drush users may be that Drush is now delivered as a |
Could you try updating your Drush to the latest 8.0.x branch and see if this still happens? |
Drush does not work with my Drupal 7 sites with this setup, but then I moved the Backdrop Drush extension out of the drush install, and drush If I checkout drush So, it seems any way I slice it I need at least two installations of drush. Is your drush |
Actually now that I've tried it, I'm getting a mix of non-working results as well. I believe I must have had two versions of Drush active when I was testing (I have aliases for drush6, drush7, and drush8). I'll continue looking into this and see what we can do to prevent Backdrop's extension from botching drush on D7. |
I'm running with four versions of drush (don't ask) all aliased. With the drush commands in |
vid using drush with Backdrop CMS and Drupal |
I am running the latest version of Drush-master (which, btw, is working with Drupal 7 without the Backdrop commands). When I do a
|
I grepped through the codebase and couldn't find that function anywhere in drush. Perhaps it has been removed in the latest -master? See #24 for more on that. |
Now that I am using the correct branch for drush (the 8.x branch) Drush 8 works on Drupal 7 even when the Backdrop commands are present. Anyone else suffering this fate, please check your drush version and branch. I'm going to close this issue for now, but please re-open if the problem reappears. |
This is the error trying to use drush on a drupal 7 site when the backdrop-drush repo is present in
~/.drush
folder.Maybe we can fix this so we can use one drush for drupal and backdrop?
The text was updated successfully, but these errors were encountered: