Closed (fixed)
Project:
Drush Make
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Sep 2010 at 22:38 UTC
Updated:
15 Oct 2010 at 00:10 UTC
Jump to comment: Most recent file
Suppose I have a makefile like:
core = 6.x
projects[views] = 2.11
projects[strongarm] = 2.0
And it is included by another makefile like this:
includes[] = http://example.com/foo.make
; ... other stuff
While the second makefile can override properties of the first, there is no way to remove a particular entry of projects[] without redefining the projects array entirely from the start.
This patch allows for the following to be valid:
includes[] = http://example.com/foo.make
projects[views] = FALSE
This is valid .info file syntax (sets $projects['views'] = FALSE) and would mean to omit / unset this entry altogether. It can of course be overridden by later lines or another includer.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 924630.2.patch | 5.32 KB | yhahn |
| #1 | 924630.1.patch | 1.19 KB | yhahn |
Comments
Comment #1
yhahn commentedComment #2
yhahn commentedComment #3
dmitrig01 commentedLet's document this.
Comment #4
dmitrig01 commentedComment #5
yhahn commentedWord. Attached patch updates docs and robustifies our includes tests to test property overrides as well as removal of projects.
Comment #6
dmitrig01 commentedLooks good - thaanks