New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with drush commands on the terminal (auto yes selected) when exporting/importing configurations #1118
Comments
The issue for -y is Always -y on drush commands causes unexpected behavior when using drush in container - I certainly agree that we should fix that up. However, could you give a simpler example (without site alias) that demonstrates your exact problem? The problem configuration is in /etc/drush/drushrc.php ( |
The problem for me is that sometimes I just want to see what settings have changed but I do not want to apply them yet and the way it is now I can not make this happen. Question? Can I create a file in the project volume that does the unset you mention? I'm not using ddev exec in this project that I have, so I could temporarily dispense with it. And good if you need it I would enable it by changing some file that is over writing the variable $ options ['yes'] Thank you |
Ok, after reading the documentation here: http://api.drush.org/api/drush/examples%21example.drushrc.php/8.0.x Create a new file and place it in /home/.drush/ in my local volumen, with the following code:
Thanks for all the help. |
Thanks so much. I do think it's time for us to fix that, so I'll leave this open and see if we can get that fixed right. Shouldn't be hard. We need 'yes' only when running under ddev exec. |
Describe the bug
When I execute tasks such as drush cex or cim (actually in any command that involves the user taking a decision), when the console appears if i want(or not want) to export/apply the changes, it selects itself in the Yes option and applies/exports the configurations, that is, I do not have the way of saying NO to the process that will be carried out.
I'm using Windows 10 Pro and I'm using the Cmder terminal.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That allows me to select whether or not I want to apply the changes.
Version and configuration information (please complete the following information):
Docker version information (use
docker version
)ddev version information (use
ddev version
)config.yaml contents for the misbehaving project
Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?
The only thing I have additional is a file called docker-compose.drush.yaml to have the aliases of the site in local volume.
The text was updated successfully, but these errors were encountered: