Closed (won't fix)
Project:
Drush Make
Version:
6.x-2.0-beta6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2010 at 17:46 UTC
Updated:
16 Dec 2011 at 15:00 UTC
Rather than submit change after change to repository while developing, you can just reference your packaged profile/make file in a local directory.
core = 6.x
projects[] = drupal
projects[xfortybase][type] = "profile"
projects[xfortybase][download][type] = "local"
projects[xfortybase][download][url] = "/home/pearcec/Documents/xforty/AEgir/xfortybase"
| Comment | File | Size | Author |
|---|---|---|---|
| drush_make.utilities.inc-local.patch | 785 bytes | pearcec |
Comments
Comment #1
yhahn commentedWorking under the assumption that a makefile is a portable set of directives, a `local` option is basically 100% non-portable. Your makefile becomes specific to your file system and I'm not sure this is something we should support or in the spirit of the project.
Can you say a little bit more about your use case and what dev problem you're trying to solve with it specifically?
Comment #2
pearcec commentedEvery time I run drush make I need to check in my changes to my profile. This patch lets me point it at my local check out. I can make changes then run drush make again and again until I am happy the profile does what I want. Then I just check it in for good. Just seems more convenient and a better practice.
How do you develop changes to your profiles? Perhaps I am missing something.
Comment #3
cthiebault commentedI have the same problem. I'm developing a project that looks like:
Each time I want to run and test my code, I need to copy my modules, theme and profile (with a Makefile) to the drupal distro built by drush make.
All these files are under SVN so it's seems portable to me...
Is this a valid use case for the use of local files in the .make file?
Thanks :)