I'll classify this as support request rather than as bug report because I'm unsure, if this should work in general and if I'm deceving myself here.
I have defined three migration groups, that work as expected, when I call them one by one. However running them all, comma separating their names like the following command, does not work:
drush migrate-import --group=lw_workdays,lw_customers,lw_products
When I run this command, nothing happens: no (error) message, no import - it just ends quickly without doing anything.
When I look into the source code of the Drush commands, I see that being able to run multiple groups at once is not documented, although it should work theoretically, when you look at the function calls. And I'm pretty sure, that I've already done that successfully!
And yes, in the meantime I've updated migrate_tools, but there were only two new commits since then: one regarding the UI support, another one just updating readme file. So nothing really related...
Comment | File | Size | Author |
---|---|---|---|
#4 | migrate-tools-drush-migrate-import-multiple-groups-2723921-4.patch | 6.03 KB | draenen |
Comments
Comment #2
mikeryanThis isn't currently supported, but could be...
Comment #3
agoradesign CreditAttribution: agoradesign commentedok, thx for the information. Seems, I was fooling myself :D
Comment #4
draenen CreditAttribution: draenen at Monarch Digital commentedPatch allows comma-separated group names for migrate-status, migrate-import, and migrate-rollback.
Comment #6
mikeryanCommitted, thanks!