Problem/Motivation
Per #2533886: [meta] Move module-specific migration support into the particular modules supported, move support for comment migration into the comment 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_comment
- d6_comment_entity_display
- d6_comment_entity_form_display
- d6_comment_entity_form_display_subject
- d6_comment_field
- d6_comment_field_instance
- d6_comment_type
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 |
|---|---|---|---|
| #15 | 2534004-15.patch | 24.26 KB | phenaproxima |
| #13 | interdiff-2534004-11-13.txt | 566 bytes | phenaproxima |
| #13 | 2534004-13.patch | 24.24 KB | phenaproxima |
| #11 | 2534004-11.patch | 24.24 KB | phenaproxima |
| #9 | 2534004-9.patch | 22.73 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\comment\Tests\Migrate namespace, and schema for comment-related source plugins into comment.schema.yml.
Comment #6
phenaproximaUnblocked.
Comment #7
mikeryanWas a little confused at CommentTest.php not showing up as a move, but I presume that because it's so short, the namespace changes made too high a percentage of lines change... Looks good to me.
Comment #8
mikeryanAfter applying all the move patches, I believe the following still need to be moved to the comment module:
Comment #9
phenaproximaMoved. interdiff didn't feel like cooperating, for some reason, so I'm sorry about the lack of that.
Comment #11
phenaproximaI was having trouble re-rolling...things seem to be hashed up in #9. So I re-did the entire thing. Fingers crossed that testbot likes it!
Comment #13
phenaproximaWhat a difference a single character makes.
Comment #15
phenaproximaRe-rolled.
Comment #16
mikeryanComment #17
webchickMoar moving code around. Committed and pushed to 8.0.x. Thanks!