At the agency where I work, we are using a development workflow with aegir wherein we build the production platform with a drush makefile, with custom code checked out of a VCS repository (svn/git). In order to do this, we build the platform on the command line with the --working-copy arg to drush_make and import it with provision-save. (as described by Miguel Jacq here: http://lists.aegirproject.org/pipermail/aegir/2011-January/000026.html)
All this works beautifully, except for the use case where the production platform is located on an Aegir satellite server. Because aegir uses drush rsync to copy platforms to the remote server, our repo information is lost where we need it most. Now that drush has a --include-vcs argument to rsync (#1055416: Drush rsync should support a --include-vcs argument), would it be possible to have provision/aegir optionally use it? I'm willing to work on a patch if given guidance on how best to expose the option to the end user/admin.
Comment | File | Size | Author |
---|---|---|---|
#7 | provision-code-1168758-7.patch | 802 bytes | helmo |
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedThis sounds like a reasonable idea.
Comment #2
helmo CreditAttribution: helmo commentedSeems like a good idea especially when using the git_deploy module.
What about a boolean configuration option for the server in hostmaster?
This probably touches three parts of provision:
Comment #3
Steven Jones CreditAttribution: Steven Jones commentedTagging.
Comment #4
helmo CreditAttribution: helmo commentedJust for reference.... adding this to ~/.drush/drushrc.php on the aegir master server helps.
Comment #5
kristofferwiklund CreditAttribution: kristofferwiklund commented#4 solve my problem. Thanks
Comment #6
ergonlogicNew features need to be implemented in the 3.x branch, then we can consider back-porting to Aegir 2.x.
Comment #7
helmo CreditAttribution: helmo commentedMy solution from #4 does not seem to work anymore. I guess it changed with how Drush is invoked.
This patch could work together with the following config snippit in e.g. /etc/drush/drushrc.php
Maybe with this the provisionacl module can add
'acls' => TRUE,
to the mix.Comment #8
helmo CreditAttribution: helmo commentedCommitted the patch from #7 as fccb2810c4d819e5d0f07779be265971e46cdb42
And cherry-picked on 6.x-2.x-backports