Closed (fixed)
Project:
Drush Make
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2010 at 11:24 UTC
Updated:
12 Aug 2011 at 15:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
yareckon commentedComment #2
yareckon commentedthis takes the syntax:
projects[projectname][download][working-copy] = TRUE
Comment #3
Anonymous (not verified) commentedsub. really would love this feature
Comment #4
yareckon commentedBroke checking this option out into a function
Testing on other version control systems than git has not yet been done, but we are just changing how we read in this option before we get into the VC specific code.
Comment #5
dmitrig01 commentedI would just set $download['working-copy'] in whatever function passes stuff into there
Comment #6
dmitrig01 commentedComment #7
dmitrig01 commentedadditionally, i would introduce an options array in the root level of the makefile, for example options[working-copy] = true. I may even take a shot at this myself.
Comment #8
eft commentedsubscribing
Comment #9
simeI would like --working-copy to be settable in the makefile, because in my situation I am making platforms from aegir gui.
Comment #10
susie commentedsubscribing
Comment #11
steven jones commentedSubscribington.
Comment #12
chaps2 commentedPatch works for cvs and svn as well as git. If using with svn you may need to add this...
projects[projectname][download][force] = FALSE
...as detailed here #1001634: svn --working-copy doesn't work in RHEL.
Comment #13
mxmilkiib commentedsubscribe
Comment #14
mcdruid commentedsubscribe
Comment #15
anarcat commented+1
(death to +1)
Comment #16
Anonymous (not verified) commentedApplied patch in #4 to 6.x-3.x branch. 1 hunk failed at line 601. That failure didn't impact me since I'm using git and this patch's functionality works great for that.
Comment #17
joestewart commentedpatch rolled for 3.x but should apply back to 2.x OK.
Addressed #5 by setting the option in __construct().
Addressed #7 in [#1206340: introduce an options array in the root level of the makefile]
Comment #18
joestewart commentedargh. Last patch had the changes for [#1206340: introduce an options array in the root level of the makefile] too.
trying again.
Comment #19
danepowell commentedsub- would love to see this, so that I can use git_deploy in conjunction with aegir
Comment #20
greg.1.anderson commentedIf some makefile sets
projects[projectname][download][working-copy] = TRUE, andprojectnameis built as part of an install profile on drupal.org, then I think this patch would cause drupal.org to needlessly pull down a working copy of the submodule when building an install profile.I would recommend abandoning this patch in favor of #1206340: introduce an options array in the root level of the makefile, which now contains a proposal that also supports
projects[projectname][download][options][working-copy] = TRUE(in addition tooptions[working-copy] = TRUE), while also giving the original caller control over what overrides should be allowed.Comment #21
yareckon commentedI support the work going on over in your thread. Let's close this in favor of your approach.