I have a make file that downloads serveral profiles each with a recursive make file. Each profile's make file includes the same project from the same git repository, but sometimes checked out to a different branch.

The idea is for each profile to have a copy of the module, like so:

profiles/
  profile_01/
    modules/
      my_module/ [checked out to a specific tag or branch]
  profile_02/
    modules/
      my_module/ [checked out to a specific tag or branch, possibly the same as above]
  profile_03/
    modules/
      my_module/ [checked out to a specific tag or branch, possibly the same as above]

Before my recent upgrade to version 2.3, this was working. I believe that this issue: #947158: Recursive makefiles can cause conflicts is now preventing any but the first copy of the module (in profile_01 in my example) from being built.

Running make with --debug reveals several comments like the following:

Attempt to build project my_module more then once prevented.

This isn't critical for me, but I see can imagine a scenario where a user might have multiple profiles that each require a different version of, say, views, and all but the first profile might be missing that module after the build.

Comments

parsingphase’s picture

Status: Active » Needs review
FileSize
663 bytes

Quick patch to drush make to index modules by name-and-version, not just name. Allows different versions to be installed in different locations, but specifying the same version in multiple locations will act as before.

parsingphase’s picture

Missed a line...

langworthy’s picture

This is the same problem as #1252716: Makefiles with multiple profiles no longer grab like projects. I need to have the same version of a module to be included in multiple profiles. drush_make should download the project once and copy the project to where it is needed.

helmo’s picture

Status: Needs review » Closed (duplicate)

Closing this in favour of #1252716: Makefiles with multiple profiles no longer grab like projects which as #3 already indicates covers the same issue.