Closed (fixed)
Project:
Drush
Version:
7.x-5.1
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2012 at 01:41 UTC
Updated:
2 Jun 2012 at 09:31 UTC
Site on Drupal 7.14, drush 5.1, needs variable module updated from 7.x-1.1 to 7.x-1.2
drush up --yes variable
First issue
Variable (variable) 7.x-1.1 7.x-1.1 Project has no enabled extensions and can't be updated
However, drush proceeds to upload numerous other projects that weren't specified:
Project commerce was updated successfully. Installed version is now 7.x-1.3.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce. [ok]
Project commerce_coupon was updated successfully. Installed version is now 7.x-1.0-beta4.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce_coupon. [ok]
Project commerce_coupon_pct was updated successfully. Installed version is now 7.x-1.x-dev.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce_coupon_pct. [ok]
Project commerce_extra_panes was updated successfully. Installed version is now 7.x-1.0.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce_extra_panes. [ok]
Project commerce_features was updated successfully. Installed version is now 7.x-1.x-dev.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce_features. [ok]
Project commerce_shipping was updated successfully. Installed version is now 7.x-2.0-beta1.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/commerce_shipping. [ok]
Project entity was updated successfully. Installed version is now 7.x-1.0-rc2.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/entity. [ok]
Project media was updated successfully. Installed version is now 7.x-1.1.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/media. [ok]
Project job_scheduler was updated successfully. Installed version is now 7.x-2.0-alpha3.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/job_scheduler. [ok]
Project pathauto was updated successfully. Installed version is now 7.x-1.1.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/pathauto. [ok]
Project rules was updated successfully. Installed version is now 7.x-2.1.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/rules. [ok]
Project token was updated successfully. Installed version is now 7.x-1.1.
Backups were saved into the directory /Users/jonathan/drush-backups/mysite/20120516011937/modules/token. [ok]
This is unexpected behaviour and not desirable - I need to assess the impacts of each module update independently.
Comments
Comment #1
jonhattanFor the first, to update projects with all of its extensions disabled, you need to allow drupal to do so with a config setting in admin/reports/updates/settings.
The second is fixed at http://drupalcode.org/project/drush.git/commit/49120c3