Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2011 at 14:28 UTC
Updated:
12 Apr 2012 at 10:34 UTC
Jump to comment: Most recent file
Comments
Comment #1
fagoHow does that interfere with possible existing make files (e.g. of distributions) that already include the entity api?
Comment #2
robloachIt doesn't break anything. Just sees it, and won't download it twice.
Comment #3
fagook, then let's do it. Thanks, committed.
Comment #5
seanberto commentedIf you have a makefile that already downloads Entity API and places it in a specific subdir, this dependency check breaks and the Entity API module is downloaded again. This is particularly problematic if you're initial makefile is pulling a specific tag of the Entity API module - and then the makefile in Rules pulls down a different version.
I know that this is technically a bug in Drush Make - but it's gumming up things here.
Comment #6
robloachHmm, that's a problem. Do you think we should move this issue over to Drush Make itself?
Comment #7
seanberto commentedYeah. Sorry. In the meantime, selfishly, I'd love to see the Makefile come out of Rules so that it doesn't break the distro I'm working on...
I'll see Jonathan Hedstrom, the Drush Make maintainer, in just a few hours in Denver. I'll ping him on it.
Comment #8
jhedstromThe problems you're experiencing are probably related to #1016924: Dealing with different versions of the same module in recursive makefiles.
Comment #9
BassistJimmyJam commentedI've run into this issue recently where the make file for my install profile downloads both rules and entity into a "contrib" subdirectory. As a result, when rules is downloaded it runs rules.make and I end up with an additional download of entity. I would like to see the make file removed until the issue with drush make can be resolved.
On a side not, the version number for entity in rules.make (1) is not valid.
Comment #10
BassistJimmyJam commentedAttached a patch to remove the make file. If you add this to your make file it will be applied before drush looks for a recursive make file and avoid downloading entity again.
Comment #11
fagothanks, I've committed #10 as sadly #5 really is a dealbreaker.
Comment #13
mrfelton commentedGood to see this removed. I think a kind of standard is to provide a .make.example file instead. But I dont really see that as needed here.