Open klonos opened 5 years ago
Since I last posted this, I've updated ddev from 1.10.0 to 1.10.2, and now drush dl
seems to work:
ddev version
DDEV-Local version v1.10.2
commit v1.10.2
db drud/ddev-dbserver:v1.10.0-10.2
dba drud/phpmyadmin:v1.10.0
ddev-ssh-agent drud/ddev-ssh-agent:v1.10.2
docker 19.03.1
docker-compose 1.24.1
os darwin
router drud/ddev-router:v1.10.0
web drud/ddev-webserver:v1.10.2
ddev ssh
...
drush status
Backdrop version : 1.14.x-dev
Site URI : http://docroot
Database driver : mysql
Database hostname : db
Database port : 3306
Database username : db
Database name : db
Backdrop bootstrap : Successful
Backdrop user :
PHP configuration : /etc/php/7.2/cli/php.ini
PHP OS : Linux
Drush script : /usr/local/bin/drush8
Drush version : 8.2.3
Backdrop Drush : 1.0.0
Drush temp directory : /tmp
Drush configuration :
Drush alias files :
Install profile : standard
Backdrop Settings File : ./settings.php
drush en devel
The following projects will be enabled: devel.
Do you want to enable the projects? (y/n): y
Error devel does not exist in your Backdrop installation.
Try downloading devel first with the command: drush dl devel
drush dl devel
Success: Project devel downloaded to /var/www/html/docroot/modules/devel.
drush en devel
The following projects will be enabled: devel.
Do you want to enable the projects? (y/n): y
Success: module devel enabled.
Still drush en
fails if the module does not exist already, whereas in Drupal, it asks if you want to download the module, then downloads and enables it.
In Drupal if a module does not exist in the file system and a user types
drush asks the user if they would like to download devel, and if they say yes it downloads it and then enables it.
This request is for feature parity with that experience in Backdrop Drush Extension.
OP for Posterity
I've also mentioned this on Gitter...
On a Mac, with latest ddev/docker:
...certain commands like
drush st
anddrush cc all
work w/o any issue, either viaddev exec ...
or directdrush
commands afterddev ssh
into the environment:...while
drush en
anddrush dl
do not work: