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.
Add your items here.
| benjifisher |
#2882276: Extended callback process plugin to call functions with multiple parameters |
| benjifisher |
There is now a draft change record and an updated issue summary. @danflanagan8, can you review it? |
| benjifisher |
@Matroskeen commented:I'm also wondering if it makes sense to create a follow-up to deprecate existing process plugins in favor of Callback. |
| quietone |
I was wondering, since this is an agreed to Feature Request if it should be changed to a Task? |
| Matroskeen |
I have second thoughts about my question. Maybe this is not that good idea, because I don’t think we should force people to change their ymls just because we decided to add something new :slightly_smiling_face:However, we might be able to extend them from Callback. Do we want it? :thinking_face: (edited) |
| benjifisher |
Looking at https://www.drupal.org/docs/develop/issues/fields-and-other-parts-of-an-..., I think it is a feature request. (edited) |
| danflanagan8 |
I don’t think we should force people to change their ymls just because we decided to add something newI also think there's value in having easy-to-use plugins for common use cases even if it's technically feasible with other plugins. Like format_date (or date_format?) could be replicated with this expanded callback but it's really nice to have keys that have obvious names. callback is useful but a little opaque. |
| benjifisher |
If it simplifies the API, making the code base easier to maintain, then we should deprecate things. Figure out how to generate deprecation warnings, give people fair notice, and actually remove the other plugins in a major update (D10 or D11). |
| benjifisher |
Also, the specialized plugins have special validation. This is not always a good thing: just before this meeting, I saw a question in this channel about how to use str_replace with replace: ''. |
| benjifisher |
I am not sure this issue really fits the description of "feature request" either:This is a request for completely new functionality to be added to the project. |
| danflanagan8 |
There is now a draft change record and an updated issue summaryI checked this out and it looks good. Is there some way I am supposed to note that I've reviewed the draft? |
| benjifisher |
Leave a comment! |
| danflanagan8 |
gotcha |
| benjifisher |
Also say whether you have reviewd the code and/or tested. If both, then change the status to RTBC. |
| benjifisher |
C = community. |
| danflanagan8 |
k |
| quietone |
I agree, a comment. I'd also like to see that in the IS. But where? Maybe remaining tasks with a link to the comment? I don't know. But it would like it easier for a reviewer. |
| danflanagan8 |
Comment added to change record. I have not manually tested the code yet. I've just reviewed the code and the tests by eye. I might be able use the patch tomorrow and then RTBC it. |
| benjifisher |
A few weeks ago, I almost marked an issue RTBC without testing it. Then I rememberedT = testedand I did the right thing. :wink: |
| danflanagan8 |
I just marked this as RTBC. Nice work, @benjifisher. This will be really useful. |
| danflanagan8 |
But! As I was testing it by refactoring a yml of mine, I think I stumbled upon a good reason not to deprecate plugins like explode in favor of callback with array_args. When used as part of a process pipeline (I mean chained process plugins), I don't see a way to use callback with array_args unless it happens to be the first plugin in the pipeline. Like I couldn't use callback with str_replace followed by callback with explode . Is my thinking correct there? Or is there I trick I don't know about with chained plugins? |
| benjifisher |
I think that is right. If you scroll back to Comment #27 on the issue, I suggested an alternative.Maybe we need a new process plugin that gives you a way to create nested arrays ... |
| benjifisher |
Reference: https://www.drupal.org/docs/develop/issues/fields-and-other-parts-of-an-... |
| quietone |
This is about managing FRs. #2492173: [policy, no patch] Establish a system for dealing with feature requests#comment-9947625 |
| quietone |
There are FRs with patches that are very unlikely to get into core and there are those that will. These latter ones are agreed to by the maintainers. I propose that once that agreement happens the issue should become a Task. |
| benjifisher |
No comments in almost 6 years. You must have looked hard for that. :wink: |
| quietone |
I can't take credit for that hunt. It was pameeela, doing work for Bug Smash Initiative, it is a related issue #3156572: [policy, no patch] Adopt a set of guidelines for closing stale bug reports |
| quietone |
I think it is valuable to be clear about what issues could go into core (Tasks) versus those that haven't yet been agreed to or are not agreed to . There are too many times I look at an FR and have to rethink the whole history of the issue to remember if maintainers thought it should go into core and thus if I should work on it. |
| benjifisher |
I use different criteria. For example, I consider the issue funnel, and try to move along issues that have already received a lot of effort. Or something that is fun to work on or personally useful. |
| benjifisher |
I guess the task/feature request distinction does not matter much to me, so I will defer to you. |
dinarcon, Matroskeen, benjifisher, quietone, gaurav mahlawat, anmolgoyal74, danflanagan8
Comments
Comment #2
matroskeenHey!
As promised, here is a chart with statistics starting from 2021 (Sheet2):
https://docs.google.com/spreadsheets/d/1o0Rjlc1vnnLP5bM5P-SMMyGzqn7258hi...
Here are the oldest meeting notes I took into account: #3189805: [meeting] Migrate Meeting 2021-01-07.
I created 2 charts, but I think "Columns" style probably won't scale properly in case of many dates.
If we want more data, we can just add another column and one more chart series.
Feel free to go ahead and add more data from the past, explore other chart types, and play with chart settings 😋
Comment #7
quietone commentedComment #8
quietone commented