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.
Problem/Motivation
Per #2533886: [meta] Move module-specific migration support into the particular modules supported, move support for field migration into the field module.
Proposed resolution
For the most part, this is a matter of moving files around and updating namespaces. Also, explicit destination module dependencies can be removed.
Migration templates to be moved:
- d6_field
- d6_field_formatter_settings
- d6_field_instance
- d6_field_instance_widget_settings
Remaining tasks
Submit a patch.
User interface changes
N/A
API changes
Namespaces of affected migration plugins will change.
Data model changes
N/A
Comment | File | Size | Author |
---|---|---|---|
#23 | 2534010-23.patch | 23.61 KB | phenaproxima |
#17 | 2534010-17.patch | 23.78 KB | phenaproxima |
#13 | 2534010-13.patch | 23.72 KB | phenaproxima |
#8 | interdiff-2534010-5-8.txt | 524 bytes | phenaproxima |
#8 | 2534010-8.patch | 24.07 KB | phenaproxima |
|
Comments
Comment #1
phenaproximaComment #2
phenaproximaComment #4
phenaproximaBlocked by #2534158: MigrateFullDrupalTestBase must use dynamic test discovery.
Comment #5
phenaproximaMoved the tests into the Drupal\field\Tests\Migrate namespace. Also moved the relevant process plugins into the Field module, and the source plugins' schema into field.schema.yml.
Comment #6
phenaproximaUnblocked.
Comment #8
phenaproximaIf at first, yada yada.
Comment #9
mikeryanLooks good to me.
Comment #10
mikeryanAfter applying all the move patches, I see d6_cck_field_revision.yml and d6_cck_field_values.yml are still in migrate_drupal - is the thinking that they're intimately connected with the load plugin business that should be going away soon?
Thanks.
Comment #11
phenaproximaYou grok it in fullness. These two are deprecated by the builder patch, and will be removed once it lands.
Comment #12
alexpottNeeds reroll
Comment #13
phenaproximaComment #15
mikeryanThis will need to go in after #2534022: Move module-specific migration support into the node module.
Comment #16
mikeryanUnblocked by the node module commit - certainly will need a reroll.
Comment #17
phenaproximaRe-rolled.
Comment #18
EclipseGc CreditAttribution: EclipseGc commentedThis looks pretty kosher and straight forward. RTBC
Eclipse
Comment #19
mikeryanThis and the user patch make adjacent changes to the source schema, so the first one in will require the second to be rerolled. The user patch also blocks the file patch, so postponing this - user should go in next.
Comment #20
phenaproximaUnblocked.
Comment #21
phenaproximaBlocking again on #2534004: Move module-specific migration support into the comment module, since this one alters migrate_drupal.source.schema.yml as well.
Comment #22
phenaproximaComment #23
phenaproximaRe-rolled.
Comment #24
phenaproximaWelcome back to RTBCville...
Comment #25
webchickMoar moving.
Committed and pushed to 8.0.x. Thanks!