Comments

helmo created an issue. See original summary.

helmo’s picture

In irc/matrix we just concluded that Drush is loading include files from hosting modules even when not enabled.

Omega8cc might have the solution in https://github.com/omega8cc/drush

ergonlogic’s picture

It looks like the relevant code in Drush is in: http://api.drush.org/api/drush/lib%21Drush%21Boot%21DrupalBoot.php/funct...

// If we are going to stop bootstrapping at the site, then
// we will quickly add all commandfiles that we can find for
// any extension associated with the site, whether it is enabled
// or not.

So perhaps we're clearing Drush caches at too low a bootstrap level. At DRUSH_BOOTSTRAP_DRUPAL_FULL, it looks like it'll drop drush_get_option_list('ignored-modules', array());

I suppose that we'd need to add an ignored-modules entry in here: http://cgit.drupalcode.org/provision/tree/Provision/Config/Drushrc/Aegir...

And in the associated template: http://cgit.drupalcode.org/provision/tree/Provision/Config/Drushrc/provi...

helmo credited memtkmcc.

helmo’s picture

helmo’s picture

Status: Active » Needs review

Yay tests pass

helmo’s picture

merged

helmo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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