I committed to master a patch which enables commands to declare drupal core compatibility like '6+' instead of 6,7. This lets commands automatically be compatibile with Drupal 8 which is what we want.

I think this is backportable. See http://drupalcode.org/project/drush.git/commit/2d3685929cf41e628e73ad5d2...

CommentFileSizeAuthor
#2 drush-1113796.patch1.45 KBjonhattan

Comments

msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Agreed. Backported.

jonhattan’s picture

Assigned: msonnabaum » Unassigned
Status: Fixed » Needs review
StatusFileSize
new1.45 KB

Isn't 'core' => array(6, '7+'), same as 'core' => array('6+'),?

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

Yes, it is the same. I should have done that. This whole line is moot once we drop support for D5 though.

moshe weitzman’s picture

Assigned: Unassigned » msonnabaum
Status: Reviewed & tested by the community » Patch (to be ported)

Committed this, since it makes sense to push it to Drush 4 (which will always support drupal5). Commit 926c92f.

msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Backported.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.