Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295092

[meeting] Migrate Meeting 2024-10-24 1400Z

$
0
0

Core migration issues

Next video meeting 2025-01-02 (tentative)

Hello all, it’s time for the biweekly 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 second 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. #3456078: [meeting] Migrate Meeting 2024-07-18 2100Z)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 👤 emoji. To take a comment or thread off the record, start with a 🚫 emoji.

0️⃣ Who is here today?

benjifisherHi! I am one of the maintainers of the Migrate API.
Dan DavisPresent
mikelutz (he/him)Hi all
quietoneHi

1️⃣ What should we talk about today? Suggest topics here and I will add threads. I will also check for comments on the issue for today's meeting.

2️⃣ Action items. To be added later.

3️⃣ Statistics

benjifisherFixed since last week's meeting: 0 (not counting the issue for the meeting).  RTBC: 3, 1 of which is Major.  NR: 2, 1 of which is Major.  Google sheet for recording stats: https://docs.google.com/spreadsheets/d/1o0Rjlc1vnnLP5bM5P-SMMyGzqn7258hi...

4️⃣ Comment in this thread if you are looking for ways to help. Give us some idea of what you would like to do: documentation, code review, testing, project management, ...

5️⃣ Previous minutes.

benjifisherTwo weeks ago was the quarterly video meeting.#3477036: [meeting] Migrate Meeting 2024-10-10 2100Z is Fixed.
benjifisherTwo weeks before that, we still need to add a transcript to the meeting:#3473711: [meeting] Migrate Meeting 2024-09-26 1400Z
Dan DavisI added the transcript for 2024-09-26, you may want to give it a review to make sure all the links made it over correctly.
benjifisherWill do. Thanks!

6️⃣ Announcements

benjifisherI am in Oakland, CA today for BADCamp: https://www.badcamp.org/

7️⃣ Import CSV Recipe

benjifisherhttps://www.drupal.org/project/import_csv
benjifisherThis is my first recipe. It uses migrate_plus, migrate_source_ui, and migrate_source_csv and comes with 3 migrations so that you can import (and update) users, terms, and nodes from a CSV file.
benjifisherThanks to @heddn for maintaining those modules and for help with two issues. This one is already Fixed, and should be part of the next release:#3480275: File validation changed in Drupal 10.2
benjifisherThis one NR:#3480434: Allow /dev/null as the source path
thejimbirchRecipe looks great!

8️⃣ Convert MigrateSource plugin discovery to attributes

benjifisherhttps://www.drupal.org/project/drupal/issues/3421014
benjifisher@quietone: The priority is Normal. Should it be Major?
benjifisher@godotislate: I see a lot of commits on 2024-09-27. The issues status is still NW. Should it be NR?
benjifisherOr if NW is accurate, what needs to be done next?
godotislatesee the Remaining tasks in the IS

Determine which approach is the best way forward (between MR 6780, MR 9571, or 8070)

godotislateif Needs Review is more apt, I can change it
benjifisherThanks. I will take a look. This thread may be a good place for the discussion.
godotislatechanged to NR and edited the Proposed resolution to separate the three different strategies more clearly
benjifisherThe issue summary still says,

There was work to covert MigrateSource discovery to attributes with multiple providers previously done in #3424509: Update MigratePluginManager to include both attribute and annotation class, but was reverted for an issue with the source_module property in the attribute. That work has been restored here, with a few changes to address additional complications, mostly because of multiple providers: ...

I see three commits on the 11.x branch:

$ git hist --grep=3424509
* 7dd6b190eb8 2024-04-05 | Issue #3424509 by godotislate, quietone, sorlov, smustgrave, alexpott, benjifisher: Update MigratePluginManager to include both attribute and annotation class [Alex Pott]
* 580bfcb702e 2024-04-04 | Revert "Issue #3424509 by godotislate, quietone, sorlov, smustgrave, benjifisher, alexpott: Update MigratePluginManager to include both attribute and annotation class" [quietone]
* c9d53fd473a 2024-04-04 | Issue #3424509 by godotislate, quietone, sorlov, smustgrave, benjifisher, alexpott: Update MigratePluginManager to include both attribute and annotation class [Alex Pott]

The second commit reverts the first one, and it looks as though the third commit restores most of that work.

godotislatethat history is just background
godotislatebasically, 6780 is the approach to move everything
benjifisherI was confused. Reading that, I thought this issue was re-doing all the work of the previous issue and then more. But I can reword it myself, now that I have looked at the git record.
benjifisherWhich approach do you think it best?
godotislateat this point, I don't know
godotislate9571 is probably the "fastest" way to get over the line
godotislateand meets @mikelutz (he/him)’s suggestions
benjifisher

basically, 6780 is the approach to move everything

Can you say a little more? According to the summary,#3458177: Changing plugins from annotations to attributes in contrib leads to error if plugin extends from a missing dependency already moved several things to migrate_drupal.

godotislateit's covered in "Proposed resolution", unless you need more clarity
https://www.drupal.org/project/drupal/issues/3458177 did not move anything in migrate_drupal. It just handles plugin discovery exceptions
benjifisherUnder Problem/Motivation:

That work has been restored here, with a few changes to address additional complications, mostly because of multiple providers: ...I18nQueryTrait, has been moved from content_translation to migrate_drupal. ...

Maybe that should be in the Proposed Resolution section. If some of that is common to all three MRs, then put it at the top.

godotislatefair enough
benjifisherI have a lot more work to do: read the comments on #3009349: Move source_module from Migrate to Migrate Drupal and look at the code in the three MRs. I will try to get started in the next few days.
godotislateyeah, I can rewrite the IS in the meantime
benjifisherMy initial thoughts, based on this thread and the issue summary are
  1. Moving code into migrate_drupal is a good thing. That will make it easier to remove that module (and everything that depends on it) in D12.
  2. Creating temporary files to instantiate classes from uninstalled modules seems like it is asking for trouble.
godotislateI guess another solution is to move all d6/d7 source plugins to migrate_drupal , with the existing classes extending the new migrate_drupal classes.

A deprecation message that the plugins are going away can be added either here or in separate issue about preparing for migrate_drupal removal (edited)

godotislateI've updated the IS. Hopefully it is more clear now (edited)
quietoneI am sure we have an existing agreement to not move all the source plugins to migrate_drupal. I recall the plan is to rely on deprecating DrupalSqlBase.
quietoneYes, it is mentioned in this issue summary, https://www.drupal.org/project/drupal/issues/3315257

9️⃣ migrate mapping & messages table names are truncated, can lead to incorrect mapping lookups

benjifisherhttps://www.drupal.org/project/drupal/issues/2845340
benjifisherStatus NR, priority Major.
benjifisherIIRC, one approach on this issue involved renaming database tables in an update hook. I hope we have a safer approach now.

1️⃣0️⃣ Wrap-Up

benjifisherThanks for coming all! See you in 2 weeks.

Viewing all articles
Browse latest Browse all 295092

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>