Migrate package comparison assumes 6.x-1.x-dev is older than 6.x-1.0

pilot - October 3, 2009 - 23:49
Project:Hosting
Version:6.x-0.4-alpha1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When comparing packages on a platform to assess compatibility for upgrade, Aegir appears to believe that the dev version will always be older than a numbered version in the same major version number.

Yet many packages under heavy development specifically ask users to move onto a dev version (eg Skinr module, required by Acquia Prosper theme) which is actually more advanced than the release.

This was running on a HEAD installation (as of time of ticket submission)

#1

pilot - October 4, 2009 - 00:04

An added idea - would it be a good idea to have a checkbox next to packages that are coded red for the admin to manually choose to override Aegir's decision about incompatibility?

#2

anarcat - October 14, 2009 - 22:53

I would love being to force upgrades, it would also work around #604800: platform comparison doesn't handle properly non-global modules.

#3

adrian - October 15, 2009 - 12:14

I am considering changing the validation so that it only the schema version is taken into account.

at the moment the back end allows you the migration, but the front end has stricter validation, so i'm going to make the lower version simply be a warning and not an error.

I am also running into this issue with d7 migrations at the moment because the tag for the modules upstream is HEAD.

 
 

Drupal is a registered trademark of Dries Buytaert.