Closed (duplicate)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Mar 2010 at 01:17 UTC
Updated:
8 Mar 2010 at 22:46 UTC
Jump to comment: Most recent file
Per an offline discussion with Adrian, Moshe and Anarcat, aliases will be renamed to require an '@' at the head. They will still be defined as $aliases['aliasname'] = array(...);, per #727058: Site aliases should not be cached in the options context, but they will be references as @aliasname.
This will prevent ambiguities should someone choose to name an alias in a way that conflicts with a drush command name or command alias. e.g. drush @dl dl modulename.
Patch coming shortly, after #727058 is committed.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drush-733244-with-727058.patch | 23.96 KB | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedHere is a patch that combines this change with #727058: Site aliases should not be cached in the options context. The key part of this new patch is in the function drush_set_config_options:
We also take the '@' out again when printing with
drush site-alias aliasname --fullin _drush_sitealias_print_record:Everything else works as it did before.
Comment #2
greg.1.anderson commentedComment #3
adrian commentedThis has been rolled into :
#733256: Aliases should be loaded from a central location rather than drushrc.php
This part of the patch specifically seems to be working 100% fine.