Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I just want to inform that I have just created a module to allow to run migrate imports on sites.
https://www.drupal.org/project/hosting_migrate_module
I plan to:
- add options like the --update option of migrates
- allow to select which migration to run
Is there a developer documentation on how to pass options to the Drush command and how to get drush commend result to build the form options for the task?
Or the only way to look through the existing Aegir code? I already start to do that but the debug is not very easy.
Thanks for any help.
Comments
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions commentedThanks I added it to the list in https://github.com/aegir-project/documentation/commit/f7556c9b89033a3e4c...
About docs ... the provision_backend_invoke function comment is a start ... which references the drush internal names.
Using the output of a backend command in the frontend is tricky ... I know devshop used it...
Comment #3
GrimreaperThanks for the reply.
After days looking at Aegir code, I think I should store the migrations available and their status in a custom table.
Scanning the available migrations in a verify hook.
Comment #4
Grimreaper