Adds d6 and d7 migrations for audience, membership and roles

Created on 19 August 2024, 6 months ago

Problem/Motivation

Originally from dharizza โ†’ on #284: Is there any work done on an upgrade path from D6 to D8? I saw in #240 it may be required to go stable.

We should provide migration for groups, membership types, memberships, roles and permissions, user roles and fields.

Steps to reproduce

Proposed resolution

Adds og_migrate module to handle migrations so that og doesn't depend on migrate module.
Adds Drupal 6 and Drupal 7 migrations with tests using database fixtures.

Remaining tasks

- Re-evaluate code / approach after years.

Open tasks from GitHub PR:

- Membership migrations use a custom Deriver class to dynamically add process plugins depending on user or entity membership migration including migration_lookup. This is fragile and only supports known migration templates in core, but someone could create their own migrations based on this information for their entity types. It may make sense to add more known contrib. entity_type migrations that were commonly used in Drupal 7 (commerce? profile2? what else?).
- og_access_post not migrated into node grants.
- og_notifications not migrated

User interface changes

N/A

API changes

N/A

Data model changes

N/A

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

og.module

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mradcliffe USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024