Skip to content
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

quick-drupal and --yes parameter is ignored when specifying module version causing infinite loop #1736

Open
kenorb opened this issue Nov 1, 2015 · 0 comments

Comments

@kenorb
Copy link
Contributor

kenorb commented Nov 1, 2015

I'm using latest drush and the following command fails:

$ drush qd --yes --no-server --watchdog testsite postcodeanywhere-7.x-1.x
Project postcodeanywhere (7.x-1.x-dev) downloaded to /foo/testsite/drupal/sites/all/modules/postcodeanywhere.                                                             
Project postcodeanywhere contains 3 modules: postcodeanywhere_field, postcodeanywhere_example, postcodeanywhere.
You are about to create a /foo/testsite/drupal/sites/default/settings.php file and CREATE the 'foo/testsite/testsite.sqlite' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global option.                                                                              
Installation complete.  User name: admin  User password: 2qGhBi42Sr                                                                                                       
postcodeanywhere-7.x-1.x was not found.                                                                                                                                   
The following projects provide some or all of the extensions not found:                                                                                                   
postcodeanywhere-7.x-1.x
Would you like to download them? (y/n): y
Install location /foo/testsite/drupal/sites/all/modules/postcodeanywhere already exists. Do you want to overwrite it? (y/n): 
Install location /foo/testsite/drupal/sites/all/modules/postcodeanywhere already exists. Do you want to overwrite it? (y/n): 
Install location /foo/testsite/drupal/sites/all/modules/postcodeanywhere already exists. Do you want to overwrite it? (y/n): ^C

because it asks me the question, despite I'm using --yes to ignore the questions (as per drush help qd example).

It works for postcodeanywhere (without specifying the version), so it seems to fail when specifying 7.x-1.x format. The syntax postcodeanywhere-7.x-1.x is as per example shown in drush help dl, unless it's different for qd.

This build log demonstrates the issue.

Related: #5, #1182

@kenorb kenorb changed the title quick-drupal --yes parameter is ignored for D6 projects quick-drupal --yes parameter is ignored when specifying module version Nov 1, 2015
@kenorb kenorb changed the title quick-drupal --yes parameter is ignored when specifying module version quick-drupal and --yes parameter is ignored when specifying module version causing infinite loop Dec 15, 2015
kenorb added a commit to drupal-modules/postcodeanywhere that referenced this issue Dec 15, 2015
kenorb added a commit to drupal-modules/postcodeanywhere that referenced this issue Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant