You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3107 (comment) states that ~/.drush/sites is a discoverable directory
Running drush site:alias-convert and specifying that directory results in the files being generated, but even after running drush cc drush, drush sa returns { } and no aliases are listed with drush status.
In my composer managed project -- where $ROOT contains /sites/, /core, etc -- $ROOT/drush seems to be a file. As such, $ROOT/drush/sites is not an option.
When I copy the files generated above by drush site:alias-convert to $ROOT/../drush/sites and run drush cc drush, drush sa returns { } and no aliases are listed with drush status.
Given the above, how exactly can I make my alias files discoverable by Drush? I seem to be out of options.
The text was updated successfully, but these errors were encountered:
Reproduce any bugs with the current dev-master of Drush, which uses the above project. Port was one-to-one, so all existing bugs were probably ported faithfully.
Oh, I forgot! Drush 9 disables all global locations for aliases by default. This was changed after the issue you quoted above. If you'd like to use ~/.drush/sites as a location for site aliases, add the following to your ~/.drush/drush.yml file:
#3107 (comment) states that ~/.drush/sites is a discoverable directory
Running
drush site:alias-convert
and specifying that directory results in the files being generated, but even after runningdrush cc drush
,drush sa
returns{ }
and no aliases are listed withdrush status
.https://github.com/drush-ops/drush/blob/master/examples/example.site.yml states that discoverable directories are
$ROOT/drush/sites
and$ROOT/../drush/sites
$ROOT
contains/sites/
,/core
, etc --$ROOT/drush
seems to be a file. As such,$ROOT/drush/sites
is not an option.drush site:alias-convert
to$ROOT/../drush/sites
and rundrush cc drush
,drush sa
returns{ }
and no aliases are listed withdrush status
.Given the above, how exactly can I make my alias files discoverable by Drush? I seem to be out of options.
The text was updated successfully, but these errors were encountered: