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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1253414-allow-multiple-module-versions.patch | 815 bytes | parsingphase |
#1 | 1253414-allow-multiple-module-versions.patch | 663 bytes | parsingphase |
Comments
Comment #1
parsingphase CreditAttribution: parsingphase commentedQuick 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.
Comment #2
parsingphase CreditAttribution: parsingphase commentedMissed a line...
Comment #3
langworthy CreditAttribution: langworthy commentedThis 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.Comment #4
helmo CreditAttribution: helmo commentedClosing this in favour of #1252716: Makefiles with multiple profiles no longer grab like projects which as #3 already indicates covers the same issue.