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

Drush7 pm-updatestatus defaults to the 'recommended' version even if there is a 'other' release #1157

Closed
mariagwyn opened this issue Feb 6, 2015 · 6 comments
Assignees
Labels

Comments

@mariagwyn
Copy link

Summary: drush7 defaults to the 'recommended' version even if there is a 'other' release within the same major version family.

Media:
Media is downgrading using the recommended version which is below the deployed version.
drush6 upc --pipe media 7.x-2.0-alpha3+46-dev 7.x-2.0-alpha4 Update-available
drush7 pm-updatestatus Media (media) 7.x-2.0-alpha3+46-dev 7.x-1.4 SECURITY UPDATE available

Recommended: 7.x-1.4
Other: 7.x-2.0-alpha4

Linkt and Favicon are upgrading using the recommended version.

Linkit:
drush6 upc --pipe linkit 7.x-2.5 7.x-2.7 SECURITY-UPDATE-available
drush7 pm-updatestatus Linkit (linkit) 7.x-2.5 7.x-3.3 SECURITY UPDATE available

Recommended: 7.x-3.3
Other: 7.x-2.7

Favicon:
drush6 upc --pipe favicon 7.x-1.0-rc1 7.x-1.0-rc2 SECURITY-UPDATE-available
drush7 pm-updatestatus favicon 7.x-1.0-rc1 7.x-2.1

Recommended: 7.x-2.1
Other: 7.x-1.0-rc2

@ghost
Copy link

ghost commented Feb 18, 2015

Helpful or not, here is some follow-up info:

favicon 7.x-1.0-rc1
favicon 7.x-1.0-rc2 (Security Release)
favicon 7.x-2.1
media 7.x-2.0-alpha3+46-dev
media 7.x-2.0-alpha4 (Security Release)
media 7.x-1.4 (Security Release)
linkit 7.x-2.5
linkit 7.x-2.6
linkit 7.x-2.7 (Security Release)
linkit 7.x-3.3 (Security Release)

@mariagwyn
Copy link
Author

Same issue with Webform:
drush6 --uri=default upc --pipe
webform 7.x-3.20 7.x-3.22 SECURITY-UPDATE-available
drush7 --uri=default pm-updatestatus
Webform (webform) 7.x-3.20 7.x-4.4 SECURITY UPDATE available

@mariagwyn
Copy link
Author

Attempted to run Webform update with specific version number:

drush7 pm-updatecode webform-7.x-3.23
Update information last refreshed: March 19, 2015
 Name               Installed Version  Proposed version  Message
 Webform (webform)  7.x-3.21           7.x-3.21          Specified version available

Note that it did not pick up the specified version.

@mariagwyn
Copy link
Author

And add 'Print' module to the list.
Drush 6:
print 7.x-1.2 7.x-1.3 SECURITY-UPDATE-available

Drush 7:
Printer-friendly pages (print) 7.x-1.2 7.x-2.0 SECURITY UPDATE available

jonhattan added a commit that referenced this issue Mar 23, 2015
Avoid overwrite of calculated update data with release info. Fixes #1157
@jonhattan
Copy link
Member

@mariagwyn @acquiacat please check it is fixed now.

@mariagwyn
Copy link
Author

I am still testing (having issues getting Drush 7 working on local sites), but I can confirm that Media is now correctly reporting. I will check others and reopen if I see an issue.

Thanks @jonhattan.

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

No branches or pull requests

3 participants