I configured the site aliases for devthe development, and staging sitesites. I have the <DRUPAL_HOME>/sites/default/aliases.drushrc.php
aliases file with this content:
<?php
$aliases['dev'] = array(
'root' => '/home/drupaltest',
'uri' => 'localhost',
'path-aliases' => array( '%dump' => '/home/drupaltest/dump.sql')
);
$aliases['stage'] = array(
'root' => '/home/drupaltest',
'uri' => 'naftalin',
);
$aliases['all-scratch'] = array(
'site-list' => array('@dev', '@stage'),
);
?>
drush @dev status outputdrush @dev status
outputs:
hubidubi@couscous:/home/drupaltest$ drush @dev status
Drupal version : 6.25
Site URI : localhost
Database driver : mysqli
Database hostname : localhost
Database username : root
Database name : drupaltest
Database : Connected
Drupal bootstrap : Successful
Drupal user : Anonymous
Default theme : garland
Administration theme : garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.4
Drush configuration :
Drush alias files : /home/drupaltest/sites/default/aliases.drushrc.php
Drupal root : /home/drupaltest
Site path : sites/default
File directory path : sites/default/files
hubidubi@couscous:/home/drupaltest$ drush @dev status Drupal version : 6.25
Site URI : localhost
Database driver : mysqli
Database hostname : localhost
Database username : root
Database name : drupaltest
Database : Connected
Drupal bootstrap : Successful
Drupal user : Anonymous
Default theme : garland
Administration theme : garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.4
Drush configuration :
Drush alias files : /home/drupaltest/sites/default/aliases.drushrc.php Drupal root : /home/drupaltest
Site path : sites/default
File directory path : sites/default/files
Could not evaluate source path @dev.
Could not evaluate source path @dev.
I can't figure out the problem,problem; I think the alias file is correct.
AnyDo you have any idea?
Hubidubi