Closed (outdated)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Drush
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2013 at 15:26 UTC
Updated:
21 Feb 2018 at 13:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
steven jones commentedSo here's a patch based on 67d099fad8738f1080413e4a282012cacd2740d7 which happens to be the version of migrate that I'm running from, sorry,
It just sets the return values of the migrate into a Drush context, and works nicely.
Marking as 'needs work' as this needs re-rolling for migrate 7.x-2.x.
Comment #2
moshe weitzman commentedI think that drush_migrate_import (and other command callbacks) should just return their data, in addition to printing it. That makes data available to post hooks. Those might have to call drush_backend_get_result(). This has changed over Drush's history so your version may differ.
Comment #3
mikeryanComment #5
pifagor commented