From Migrate module workflow refactoring:

2. Refactor the management of content set flags (clearing, importing, scanning, semaphore), and the migrate_content_process_*() APIs. The clearing/importing flags have been somewhat overloaded, used both for enabling processes and showing status, and scanning is simply ill-conceived and needs to go away.

3. Along with #2, refactor the Dashboard page - eliminate the system of checking off operations, in favor of simple buttons to run single interactive processes. Actually, maybe the content set listing and dashboard pages could be merged...

Comments

mikeryan’s picture

Status: Active » Needs work

Committed the functional changes, I still need to update the simpletests to reflect the updates. Highlights:

  • Content set list and dashboard pages have been combined.
  • UI considerably simplified.
  • Support for stopping active processes/clearing stuck status flags added to drush (drush migrate stop) and dashboard page.
  • Interactive imports now support an update option (previously added to drush with the --update flag).
  • Processing functions now recognize if memory usage is approaching the limit and return cleanly. Interactive runs will automatically start a new batch - drush support for resumption is TBI.
  • Using the dashboard page to define a default workflow has been removed, along with the "drush migrate all" command and cron processing. Using drush, you can define a workflow simply with a sequence of drush commands. Cron processing requires a means of defining what tasks to perform in cron before it can be restored.
  • Tools page (deleting all nodes of a given type) removed. This is supported by the "drush migrate wipe" command - if you really need to do this via a browser, views_bulk_operations is recommended.
mikeryan’s picture

Status: Needs work » Fixed

All done - updated the simpletests, and also removed the $messages argument from the processing functions.

Status: Fixed » Closed (fixed)

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