Tasks to deprecate Migrate Drupal

Created on 13 October 2022, about 2 years ago
Updated 23 July 2024, 5 months ago

Problem/Motivation

Track the steps needed to deprecate extension Migrate Drupal. See Remove a core module and move it to a contributed project β†’ of the deprecation policy.

The removal of extension Migrate Drupal was approved in πŸ“Œ [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL Fixed . It is happen after Drupal 7 is EOL.

Remaining tasks

  1. Move integrations implemented by other modules to the extension.
    Create child issues or child meta issues, as needed, to address the following points. Not all points will apply to all extensions.
    • Deprecate source plugins for legacy Drupal. Deprecate DrupalSqlBase. This should cover all the source plugins for legacy version.
    • Deprecate MigrateField plugins
    • Decide which Migrate Destination plugins to deprecate.
    • Decide which Migrate Process plugin, in other modules, to deprecate.
  2. Do a thorough search of core for any remaining references to the extension. If references are found, outside of the extension, then create issues to remove the references.
  3. Create a section on Deprecated and obsolete modules and themes β†’ to provide recommendations for sites using extension EXTENSION_NAME. The recommendations are to include instructions for sites using the extension and for contributed projects that depend on then extension.
  4. Add the following to the extension info.yml file
  5. lifecycle: deprecated
    lifecycle_link: https://www.drupal.org/node/3223395#s-EXTENSION

  6. Add @group legacy to all tests in the extension.
  7. Add a change record and include a link the the doc page.
  8. Deprecate any library that is only used by the extension.
πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated about 13 hours ago

Created by

πŸ‡³πŸ‡ΏNew Zealand quietone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom catch

    I feel like there's another issue to discuss this, but putting here for now.

    We need to decide when to do this, IMO it should be something like this:

    It makes sense to support the Drupal 7 migrations in core until Drupal 7 is EOL, but for as short a time as possible after that date. That way supported Drupal 7 sites can migrate to a supported version of core, but unsupported Drupal 7 sites will eventually need to rely on the contrib module.

    Therefore, if the Drupal 7 EOL date falls within the support cycle for Drupal 10, we should deprecate migrate_drupal in Drupal 10 for removal in Drupal 11.

  • πŸ‡¬πŸ‡§United Kingdom joachim

    Migrate Drupal isn't just for migrating from old sites. It's really useful for doing data migrations *within* a site. I've used it for things like migrating box entities to paragraphs, for instance.

  • πŸ‡¬πŸ‡§United Kingdom catch

    @joachim are you using migrate_drupal to do in-site migrations or just migrate? This issue is only about migrate_drupal. If so, which bits of migrate_drupal are you using? If there's stuff that's generically useful, then we ought to be moving that to migrate anyway I think - migrate_drupal is only supposed to be for d6 and d7.

  • πŸ‡¬πŸ‡§United Kingdom joachim

    I use \Drupal\migrate_drupal\Plugin\migrate\source\ContentEntity a lot!

  • πŸ‡¬πŸ‡§United Kingdom catch

    OK yeah there is that and \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config. That seems worth migrating to the migrate module since it's version-agnostic - or even if we moved them to contrib they shouldn't be in a d6/d7 migrate module that's going to eventually drop support.

  • πŸ‡³πŸ‡ΏNew Zealand quietone
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    There's been some discussion among the release managers about other options for how to remove Migrate Drupal and Migrate Drupal UI. There was no decision, just knocking around ideas.

    So, I am tagging this to a full discussion can take place.

  • πŸ‡¬πŸ‡§United Kingdom catch

    I think we need to discuss this in πŸ“Œ [Policy] Migrate Drupal and Migrate Drupal UI after Drupal 7 EOL Fixed and leave this issue for figuring out mechanics, leaving the tag on but will comment over there.

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    Postponing on the policy issue

  • Status changed to Postponed about 1 year ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone
  • Status changed to Active 5 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone
Production build 0.71.5 2024