Skip to content
This repository has been archived by the owner on May 11, 2019. It is now read-only.

"drush eup --pipe" updates all modules without prompting user for confirmation #1

Open
jbickar opened this issue Feb 10, 2015 · 3 comments
Assignees

Comments

@jbickar
Copy link
Contributor

jbickar commented Feb 10, 2015

Run:

drush eup --pipe

Expected behavior:
drush returns a simple lists of modules with available updates

Actual behavior:
erus updates all the modules without prompting the user with a "Do you really want to continue with the update process? (y/n):" message.

@jbickar jbickar changed the title "drush eup --pipe" updates all modules without prompting user for conformation "drush eup --pipe" updates all modules without prompting user for confirmation Feb 10, 2015
@sherakama
Copy link
Member

Drush assumes 'yes' when using --pipe
see: https://github.com/drush-ops/drush/blob/6.x/includes/bootstrap.inc#L635

When using pipe are you just looking for the list of possible updates?

@jbickar
Copy link
Contributor Author

jbickar commented Mar 13, 2015

If that's the case, that's stupid. However, "drush up" does not go ahead and assume "-y" when I run "drush up --pipe" in 5.4 or 6.2 (the two versions I've tested). When I run "drush up --pipe" in drush 6.2, it just generates a list and does not update the modules.

One would assume that the whole reason to use the --pipe flag is to generate a list of modules with available updates in order to pipe them to something else.

Put that in your pipe and smoke it.

@sherakama
Copy link
Member

I'll have to look into how up handles pipe.

Thanks,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants