Also, looks like :build_script runs locally. This is awesome for the build server (where we want all the building happening at the place cap is executing), but less awesome when using a vagrant VM, where it's night to control the the version of drush doing the building. Will probably try to look into a way to get it to run "remotely" in the VM :)
The bulk of the other tailoring would likely involve us simply adding pre and post tasks, to deal with some things we do like:
appending file snippets to settings.php after build
appended/prepending snippets to htaccess after build
stripping out certain things (docs directory, scripts, tests, .git dirs) when deploying to everything but the local dev environment
Anyhow, looks awesome though! This is just super quick notes since I'm already late to meet up with folks tonight, so apologies if they're a little unpolished! Cheers guys! :)
Still haven't dug in as much as I'd like, but looks like an awesome project guys.
Just wanted to toss some things out that to let you know what I'll be working at reconciling in order to use it:
build-PROJECTNAME.make
file that looks like this: https://github.com/myplanetdigital/secondlevel/blob/develop/build-secondlevel.makeGiven how this works, we need to add a little special sauce so that we can easily build any release, as opposed to just the tip of the "develop" branch that the makefile specifies: https://github.com/myplanetdigital/secondlevel-rerun-modules/blob/develop/2ndlevel/commands/build/default.sh#L39
So looks like we'll need to override the actual
:setup_build
task: https://github.com/xforty/drush-deploy/blob/master/lib/drush_deploy/recipes/drupal.rb#L64-L89:build_script
runs locally. This is awesome for the build server (where we want all the building happening at the place cap is executing), but less awesome when using a vagrant VM, where it's night to control the the version of drush doing the building. Will probably try to look into a way to get it to run "remotely" in the VM :)Anyhow, looks awesome though! This is just super quick notes since I'm already late to meet up with folks tonight, so apologies if they're a little unpolished! Cheers guys! :)