Problem/Motivation

Core now has a recipe unpacking plugin which moves a recipe's dependencies into the top-level composer.json at require time, and then removes the recipe from Composer's jurisdiction. The recipe is still physically there, but Composer no longer knows about it. That's a problem, because RecipeActivator relies on Composer to tell it where a given recipe is installed.

Proposed resolution

RecipeActivator should first ask Composer about where a recipe is installed, and if Composer doesn't know, it should try to compute the path based on what can be read from composer.json.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Status: Active » Needs review

No tests yet, but this is ready for review, I think.

chrisfromredfin made their first commit to this issue’s fork.

phenaproxima’s picture

Status: Needs review » Fixed
chrisfromredfin’s picture

fixed in 2.1.x - wasn't needed to backport to 2.0.x but I did it anyway because I would prefer those branches stay as consistent as possible

chrisfromredfin’s picture

assigning credit

Status: Fixed » Closed (fixed)

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