drush-ops/drush — pull request #765 by greg-1-anderson (2014-08-20 06:59:06+00:00)
Title: Automatically set 'dispatch-using-alias' when a remote site alias does not define 'root' or 'uri'

This requires an alias of the same name be defined on the remote host; the benefit is that the root and uri for the site can be maintained on the remote server.

This came up when I was talking with David Sparks in Auckland. He's an Aegir user, and is having problems with the site root of his remote sites moving, as Aegir is wont to do during upgrades. We briefly discussed pulling the site root from the remote site, so that it was available for use by the dev machine, but it is much tidier to just do this, and remove any knowledge of the site root from the dev machine. The limitation here is that you must have an alias of the same name defined on the remote machine, but overall, it seems like a big win to me.

If you agree, then I'll write up some documentation for it in the example site alias file & merge.