Closed (fixed)
Project:
Drush
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2011 at 12:58 UTC
Updated:
16 Jun 2012 at 21:41 UTC
Grayside wrote a blog on how to do this: http://grayside.org/node/93.
It's a good idea. We could either add it to example.drushrc.php, as shown (included with permission), or perhaps make it standard functionality in drush_bootstrap_drush. The advantage of just making it a sample is that it is more flexible vis-a-vis repository layout.
| Comment | File | Size | Author |
|---|---|---|---|
| grayside-config-from-git-example.patch | 801 bytes | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedI thought it was a good idea to use 'drush_shell_exec' here, just to use the drush API, but doing it this way does not work well when running drush with --simulate. I think grayside had the right idea calling exec directly.
Comment #2
moshe weitzman commentedI like this too and agree with putting it in example.drushrc.php. committed with exec().
Commit 1adf73a if we want to backport. Seems desireable.
Comment #3
msonnabaum commentedBackported.