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

Grimreaper created an issue. See original summary.

helmo’s picture

Thanks 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...

Grimreaper’s picture

Thanks 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.

Grimreaper’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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