Hello all, it’s time for the weekly migration initiative meeting. The meeting will take place in slack in various threads
This meeting:
➤ Is for core migrate maintainers and developers and anybody else in the community with an interest in migrations
➤ Usually happens every Thursday and alternates between 1400 and 2100 UTC.
➤ Is done on the #migration channel in Drupal Slack (see www.drupal.org/slack for information).
➤ Happens in threads, which you can follow to be notified of new replies even if you don’t comment in the thread. You may also join the meeting later and participate asynchronously!
➤ Has a public agenda anyone can add to here: TODO. See the parent issue for an idea of the typical agenda.
➤*Transcript will be exported and posted* to the agenda issue. For anonymous comments, start with a :bust_in_silhouette: emoji. To take a comment or thread off the record, start with a :no_entry_sign: emoji.
webchick |
Hi there! webchick from Vancouver, :canada: I have a cat named cooper. :slightly_smiling_face: |
benjifisher |
Benji from the Boston area. I have a cat named Qwerty. |
heddn |
Lucas, from Leon Nicaragua. No pets. |
quietone |
Vicki, Wellington. Two cats, Oreo and Max. |
damienmckenna |
Damien in NH, USA. Three cats, one of whom lives to take my seat :wink: |
benjifisher |
Several cats, no dogs. Who knew? |
alison |
Hi! Alison in Skaneateles, NY.Had a dog named Poz, he died recently :disappointed: :purple_heart:Here he is, helping me work, and just being his pretty self. (edited) |
alison |
Lol, timing |
benjifisher |
I am sorry. I lost one of my cats in January. :disappointed: |
damienmckenna |
I'm sorry for you both. We lost a dog in iirc November and cat in iirc March :disappointed: It sucks y'all. (edited) |
damienmckenna |
(not trying to turn this into a pity olympics, just loosing pets sucks) |
alison |
Oof. I'm sorry for y'all, it absolutely sucks!! |
alison |
No no, you're sharing / relating / expressing empathy :) |
alison |
I'm so sorry for your losses :hugs: |
dinarcon |
Mauricio here :wave: sorry for your losses as well :blue_heart: |
benjifisher |
Only one issue Fixed since last week. |
benjifisher |
RTBC: 6, including one Major. I know that @quietone and I care especially about #3143717: Add helper methods to the migrate_drupal_ui functional tests, part of the meta issue to clean up the functional tests. I would like to see that one land before we continue.@webchick, can you nudge the core committers? (edited) |
benjifisher |
Also, is there some other channel I should be using to talk to the core committers? |
heddn |
@benjifisher no other channel. alex and lee have reviewed in the past. if its multi lingual in nature, gabor will jump in and Angie has picked up more UX related improvements to the UI. |
benjifisher |
NR: 42, including 3 Major. |
heddn |
Just ping them here or in #contribute if you have a specific item you want to see land. |
quietone |
A few days ago I asked Gábor to look at #3110669: Migrate d7 menu language content settings |
webchick |
Yeah, #contribute is where the core committers mostly hang out, tho a few of us are in individual initiative channels too |
webchick |
https://www.drupal.org/project/issues/drupal?text=&status=14&priorities=... looks like this list? |
webchick |
Any particularly blocking or just generally would be good to see commit activity? |
quietone |
#2845485: Refactor and document the MenuLinkParent process plugin - This is the last is one in a Meta for process plugins. Would feel good to get that work done. |
webchick |
I can probably take #3160031: Fix 18 spelling errors for migrate specific terms#new right now... except DEAR LORD how is it 60K?! :scream: |
benjifisher |
Earlier in this thread I mentioned one that @quietone and I care about, and there is one Maror. |
quietone |
#3143717: Add helper methods to the migrate_drupal_ui functional tests This one is for my well being. |
benjifisher |
Yes, that one^. |
webchick |
Ok! |
webchick |
"Migrate maintainers are asking for their RTBC queue to get a poke in the weekly #migrate meeting. #3143717: Add helper methods to the migrate_drupal_ui functional tests "part of the meta issue to clean up the functional tests. I would like to see that one land before we continue."Both seem to need framework manager-ish review."Sent. :slightly_smiling_face: |
benjifisher |
:clap::clap: |
quietone |
Unfortunately, #3143717: Add helper methods to the migrate_drupal_ui functional tests needed a reroll. It is running tests now. |
benjifisher |
Good catch! |
benjifisher |
I should probably check all the RTBC issues as part of the weekly meeting. RTBC issues are re-tested every two days. The testbot changes the status to NW if a test fails, but not if the patch fails to apply. |
benjifisher |
#2913428: Concat process plugin should filter empty values |
quietone |
@heddn, shall we just the issue to Migrate Plus? |
heddn |
@quietone Well, does it need to go there even? I thought we had a working solution and it might not even need to land there. |
quietone |
And the idea of making an array_filter process plugin? What happens to that? |
heddn |
callback? |
quietone |
Ok. I'll won't fix it and point folks to #2882276: Extended callback process plugin to call functions with multiple parameters |
benjifisher |
I remember being annoyed when the array_pop plugin went in--or maybe it was the null_coalece plugin--because you could get the same result with a little pipeline: callback with array_filter and array_values and array_pop or something like that. |
benjifisher |
Right, we could use a few more generic plugins like that ^^ and not a plugin for every use case.Once that one lands, we can deprecate the format_date plugin, or whatever it is called. |
benjifisher |
#3161696: Document how and why d7_node_title_label works |
quietone |
@damienmckenna can you say more about the problem. It seems that skipping rows in that migration was unexpected and caused some confusion. |
damienmckenna |
This speaks to a bigger issue: if you run a migration and run migrate:status you'll have discrepancies between the source record count and how many were migrated, then need to dig into it to work out why. |
damienmckenna |
My experience is based from starting with migrate_upgrade and reviewing what comes out at the end (which is how most people should do it imho). |
benjifisher |
Doc blocks in PHP code are extracted and then shown on a.d.o. The only way to see comments in a YAML file (I think) is if you look at the YAML file. |
damienmckenna |
You run a migration, you have all these records which appear to be "missing", so I started with the yaml files. (edited) |
damienmckenna |
IMHO every single record that is skipped should have a message indicating why, so as I work through these few site migrations I'll be working on patches for various modules to add notes about it, thanks to the message option on skip_on_empty that @quietone pointed me towards. |
benjifisher |
I wonder if a new documentation page might be more useful, or maybe hust a couple of extra paragraphs on an existing one.Based on your experience, is the hard part knowing where to look (modules/*/migrations/*.yml) or understanding the skip_on_empty once you are there? (edited) |
damienmckenna |
The issues I faced were:What is this specific migration doing,Why did it not migrate all of the records. |
benjifisher |
The first question could be answered by a short description at the top of each migration file. That might be worth the effort. It would certainly be worth the effort if we had something like phpdoc for YAML files, so we could collect all those descriptions. |
quietone |
@damienmckenna what is your ideal solution? |
benjifisher |
The second question is partially answered by knowing to look for skip_on_empty with method: row. The could be a paragraph or two of documentation. In most cases, I do not think that the individual skip_on_empty is worth a comment. |
benjifisher |
For reference, we are talking about this: label: - plugin: static_map source: title_label bypass: true map: Title: 0 - plugin: skip_on_empty method: row |
damienmckenna |
I opened an issue somewhere to request that after a migration runs the number of records created + messages logged = number of source records, because someone looking at a migration just won't know what happened, and IMHO you shouldn't be required to look in the codebase to see why. (edited) |
damienmckenna |
^ would be my ideal solution. |
damienmckenna |
So yes, Benji, there are two issues. |
benjifisher |
That would mean a policy of treating the message as required fro method: row.It there ever a way to log more than one message for a single skipped row? |
damienmckenna |
If you're neck-deep in migrations and comfortable with what's going on you can knowingly dismiss differences between source & destination record counts, when you're not (imho most people will not be) it's a serious point of confusion and wasted effort (& project budget) tracking down why the numbers are different. |
Comments
Comment #7
quietone CreditAttribution: quietone as a volunteer commentedComment #8
quietone CreditAttribution: quietone as a volunteer commented