Closed (fixed)
Project:
Drush Multi (drush_multi)
Component:
Miscellaneous
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
6 Dec 2009 at 22:12 UTC
Updated:
28 Dec 2010 at 11:49 UTC
See drush site aliases and #628996: Concurrently execute a single drush command on multiple sites. Some of your ideas here might be helpful; I'll certainly review your code when I work on this.
Comments
Comment #1
fl3a commentedMy implementation of exec is a waste product and there are imho more elegant solutions for implementing this.
But some so called "helper-fuctions" or rudiments might be useful.
#628996: Concurrently execute a single drush command on multiple sites would be awesome, do not hesitate to contact me.
Comment #2
greg.1.anderson commenteddrush-3 will sequentially execute a command on multiple sites (e.g.
drush @site1,@site2,@site3 update). At some point in the future we might try to make the commands execute concurrently, as described in the above-referenced issue.Comment #3
roball commentedHandling all sites of a multisite environment can now be done directly with drush 3.x, using
Comment #4
fl3a commentedYes, indeed!
Tested today with v.3.3 and it also works with v.4-dev (#831272: '@sites' alias doesn't work unless drush can find at least one local site at the drupal root).
@greg.1.anderson GREAT WORK!
Will thin out drush_multi´s code because of duplicate functionality.
Comment #5
fl3a commentedComment #6
fl3a commentedAdded @depicated tag to the exec functions, added drush_log() with priority 'warning', updated the documentation and the project page.
Will remove these 2 functions soon.
Comment #7
fl3a commentedDeleted every related function and corresponding documentation.