Since the recent merge with upstream, that restructured the drush module to be cleaner, it introduced a series of bugs because the civicrm drush module assumes that CiviCRM is available in the platform.

For example, "drush cc all", will complain that it cannot open CRM/Core/Config.php, on a site that is not running CiviCRM.

Needs to be fixed upstream.

Comments

omega8cc’s picture

Priority: Normal » Critical

It also breaks Hostmaster upgrade.

I had to revert to https://github.com/omega8cc/provision_civicrm/commit/57d3d790b48e5c1c2e6... to avoid breaking everything.

bgm’s picture

ergonlogic pointed me to:
https://drupal.org/node/704848#comment-2562672

and suggested an easy fix: to rename functions such as drush_civicrm_sql_cli() to drush_civicrm_sqlcli() and declare its callback explicitely. Seems to be working, might commit.

bgm’s picture

Assigned: Unassigned » bgm
Status: Active » Needs review

I committed a fix in 6.x-1.x. Please review/test!

bgm’s picture

Status: Needs review » Fixed

I talked with totten of civi about it, and merged the code upstream. Closing the issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.