Hello all, it’s time for the weekly migration subsystem 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. 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.
2021-10-07 - The hope is that most or all of the maintainers will attend. We will try to focus on longer-term goals than in the weekly meeting.
| benjifisher |
Benji, one of the maintainers of the migration subsystem.I do not have a favorite Pokemon, but maybe others do.My :imp: project at work is finishing this week, one way or another. I should have more time for Drupal contribution next week/next month. |
| danflanagan8 |
Dan was never into Pokemon, but my favorite Chinpokomon is Shoe. I'm an ordinary drupaler. (edited) |
| benjifisher |
I never heard of Chinpokemon. Link? |
| Matroskeen |
Ivan, developer and a little bit contributor :wave:Not a Pokemon fan, but I like gifs with Pikachu. |
| Matroskeen |
pickachu (137 kB)Posted using /giphy |
| danflanagan8 |
https://en.wikipedia.org/wiki/Chinpokomon |
| Matroskeen |
@danflanagan8 :wave: Thanks for the review of my several migrate issues/patches! (edited) |
| benjifisher |
Oh, South Park. I can imagine. |
| danflanagan8 |
You bet, @Matroskeen! Trying to help keep the migrate train rollin'. |
| benjifisher |
Looking at 3️⃣, it seems there are a lot of stale issues, but there is also a lot of progress NR -> RTBC -> Fixed for newer ones, and I think both of you have contributed to that. :thankful: ! |
| mikelutz (he/him) |
Hi all. |
| quietone |
Hi. What is a pokemon? |
| mikelutz (he/him) |
It's a long running anime show. Gotta catch em all! |
| mikelutz (he/him) |
That's Pikachu. He's the best. :-) |
| benjifisher |
Next week, right? |
| benjifisher |
If we are going to participate in the contribution "event", then someone has to create an event. |
| benjifisher |
The only thing I see at https://drupalcontributions.opensocial.site/group/contribution-area-drup... is the mentored contribution.Am I looking in the right place? If so, then this structure is not working well. That is, we are not the only ones who have not signed on. |
| dinarcon |
What about scheduling a BoF? I can schedule one. Any day or time preferences? (edited) |
| benjifisher |
I am not planning to attend the conference itself. I can attend a contribution event (maybe just one day). I may even create such an event, but not today. |
| radelson |
Looks like if we want to create a topic, we only need a description and a title. |
| benjifisher |
What you really need is a commitment that someone will show up. I think I am willing to commit to one day, but I have to look at my schedule and I have too much going on at work do do it before the weekend. |
| radelson |
We have some time to contribute at work next week, I looked forward to join others and work on migrate ! By "someone", do you mean maintainers ? Well, if not, yeah, I can be there so it looks lively (probably not all days) |
| benjifisher |
Can I ping you on Saturday or Sunday to choose a day? |
| radelson |
Yes ! Thanks |
| quietone |
I certainly can commit time but will anyone in Europe be awake at the time? |
| radelson |
@benjifisher What's up ? Did you think about it ? |
| radelson |
Juste created a topic for migrate contributions during Drupalcon Europe : https://drupalcontributions.opensocial.site/group/contribution-area-drup...'ll be around the whole week I think but my timezone is GMT+1 soooo, we'll see ! @benjifisher If you decide on a day/time, let me know |
| benjifisher |
Sorry, I was catching up on sleep an working on other things over the weekend ... like #2934995: Add a "Manage permissions" tab for each bundle that has associated permissions |
| benjifisher |
The event says Oct. 4, which was yesterday. Is this an ongoing event? |
| benjifisher |
API docs for the transform() method: https://api.drupal.org/api/drupal/core%21modules%21migrate%21src%21Plugi...…]ace.php/function/MigrateProcessInterface%3A%3Atransform/9.3.x |
| benjifisher |
The dom plugin (migrate_plus module) already violates this, returning a DOMDocument object. |
| benjifisher |
Are there any core process plugins that violate it? For example, returning NULL is technically not allowed.
Now that we have added phpstan to the CI pipeline at work, it complains if my custom process plugin returns NULL. |
| benjifisher |
What are the BC implications of relaxing the return type? |
| benjifisher |
What other mechanisms are there for declaring a return type? |
| benjifisher |
I like the @param comment for $row:
The row from the source to process. Normally, just transforming the value is adequate but very rarely you might need to change two columns at the same time or something like that.
Last week, I did a terrible hack: I used setDestinationProperty() in a custom process plugin, letting the source determine which destination property to set. |
| danflanagan8 |
entity_exists can return FALSE |
| danflanagan8 |
A number of others can return NULL (download, file_copy, migration_lookup, null_coalesce) (edited) |
| huzooka |
What if one has a process plugin which retuns an object? |
| huzooka |
(And e.g. the next process plugin serializes the object) |
| danflanagan8 |
I think there could definitely be use cases for returning an object, like the dom plugin referenced above. I think mixed would be a great return type! |
| danflanagan8 |
O would that have to be null|mixed? |
| quietone |
I asked larowlan about the BC implications. It seems there aren't any here, it is just a guide. Unlike the case if it was a type hint. So, shall we make an issue to update the phpdoc? |
| quietone |
Silly me, there is already an issue. |
| benjifisher |
Link? |
Matroskeen, andypost, benjifisher, danflanagan8, quietone, mikelutz (he/him), dinarcon, radelson, huzooka
Comments
Comment #9
quietone commentedComment #10
quietone commentedComment #11
benjifisherComment #12
benjifisherSorry, I did not mean to change the status when I updated the issue summary. Back to NR.
Comment #13
benjifisherI reviewed the transcript and the people given credit during today's meeting. Both look good to me.