Extracting a submodule in its own module

Created on 7 January 2025, 4 months ago

Problem/Motivation

In the UI Patterns β†’ ecosystem 2.x roadmap, we decided that some modules that were integrated as submodules of the main module should be exported as external modules. This is why we created UI Patterns Field Group β†’ and https://www.drupal.org/project/ui_patterns_ds.

When we published the first alpha of ui_patterns_field_group, we discovered that the composer namespace was unavailable because if has been detected as a submodule of ui_patterns. This seem to rise some issues and misunderstandings. β†’

As co-maintainer of both modules, what is the process we could follow to get that namespace working well for both 1.x and 2.x users?

Proposed resolution

  • Have an 1.x branch on UI Patterns Field Group that only declares UI Patterns 1.x as dependency so anyone requiring this version might be able to get the module as expected.
  • Keep the 2.X branch of UI Patterns Field Group as it is currently.

Does it sound right for you?

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France duaelfr Montpellier, France

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

Comments & Activities

Production build 0.71.5 2024