Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Mar 2015 at 11:27 UTC
Updated:
28 Mar 2016 at 01:24 UTC
Jump to comment: Most recent
Comments
Comment #1
benjy commentedComment #2
claudiu.cristeaComment #3
mikeryanComment #4
mikeryanUnder API issues, I separated out some hot topics revolving around migrations as configuration entities. These are blockers for at least the work I'm doing on migrate_upgrade and migrate_plus. They're also mutually interdependent, so we need a battle plan to address them.
#2462233: Migrations should not use the configuration entity system - @alexpott, please chastise me if I've misunderstood, but based on IRC discussion I understand Alex's current position to be that it is OK for migration to be configuration entities as long as we address the pollution problems from migrate_drupal installing all the things into active configuration. #2463909: Migrations should support non-installed default configurations (templates) is my proposal to deal with that. The current model used by migrate_drupal is that all possible core migrations from Drupal 6 and Drupal 7 are automatically installed into active configuration - these migrations are not actually usable as initially installed, they need source database configuration. The runners will select those corresponding to the specific version being upgraded from, inject the source database information, and run those migrations.
Stepping back a bit, I see three broad categories of migration use cases:
Right now migrate_drupal thinks it's use case 1, but it's really use case 2. Even in the straight upgrade scenario, it needs that source database information, and it also should be filtering the migrations it runs down to those that make sense in the particular site's migration (e.g., book migration should only be attempted if the book module is enabled on both the source and destination sides). And we also would like to support more flexible Drupal-to-Drupal migration scenarios in contrib, leveraging the core migrate_drupal as much as possible - this is solidly use case 2.
The model I see migrate_drupal using is described in #2463909: Migrations should support non-installed default configurations (templates), I won't repeat it here. I will point out that it depends on having #2302307: Support shared configuration between migrate groups as well.
I suggest the order of tackling these issues should be:
Comment #5
mikeryanComment #6
iantresman commentedWill the Migrate Drupal module handle (a) Drupal 6 CCK node reference fields, and (b) Views 2 setups?
Without both of these, people will find it hard to migrate to Drupal 8.
Comment #7
benjy commentedYes, see #2447727: Add base class for migrating reference fields
Not Views 2, but I did some work on Views 3, there is a sandbox here: http://cgit.drupalcode.org/sandbox-chx-2105305?h=migrate-views
1. Won't be required, core should handle it.
2. Well, Views migrations in general are tricky, the 3.x branch needs a lot of work still, Drupal 7 Views 3.x were very similar so I still think the work should go there. Maybe the upgrade bug could be fixed?
Comment #8
iantresman commentedGood news on node reference. I would urge work on D6 Views 2, as it has 6 times as many users as D6 Views 3. The schemas don't look too dissimilar.
Comment #9
benjy commentedHappy to provide reviews and direction if someone wants to work on this but it isn't something I intend to take on anytime soon.
Comment #10
iantresman commentedIs there somewhere better to put in a feature request for Drupal 6 Views 2 migration? A separate issue?
Comment #11
mikeryanComment #12
mikeryan@iantresman - yes, Views 2 support should be a distinct issue.
Comment #13
mikeryanComment #14
iantresman commentedAs suggested, I've posted a request to provide a migration from Views 6.x-2.x to Drupal 8.
Comment #15
ultimikealexpott and I had a discussion about this at DrupalCon Los Angeles, some notes:
Looking at the big picture for the Migrate in Core roadmap, there are 6 main areas:
In order to move forward, we need to discuss, decide, and act on items 2, 3, and 4 (the first item, migration groups, is close to completion) before we can realistically move on to D7->D8 stuff as they will have wide-ranging effects (especially items 2 and 3). The order of items I have listed above is not necessarily the order we should tackle things:
alexpott is going to join our weekly call on May 27, I suppose it would be good if we could get a lot of discussion done on the relevant issues so that call ends up being a confirmation call rather than a trip to the bikeshed.
Links to the various issues are listed in the issue summary - Mike Ryan's comment 4 has some good information as well.
-mike
Comment #16
phenaproximaComment #17
webchickMetadata massaging.
Comment #18
Anonymous (not verified) commentedComment #19
webchickAdding IDs to various headings so they can be linked to, moving done stuff to "Complete," removing unrealistic target dates, etc.
Comment #20
webchickRadically shortened this list to just what's left to remove the remaining Migrate criticals. All the credits to @mikeryan.
Comment #21
benjy commentedAny objections to closing this? I don't think we're using it to track anything anymore.
Comment #22
phenaproxima@benjy: Yeah, this is pretty far out of date. +1 to closing it.
Comment #23
benjy commented