Skip to content

MAPL: Consolidate enums and introduce MAPL_ API constants (w/compat shim) [MAPL3] [:chart_with_upwards_trend: MAPL3, :zero: Diff]#1094

Open
tclune wants to merge 2 commits into
release/MAPL-v3from
feature/1085-gwd-replace-mapl2-dep
Open

MAPL: Consolidate enums and introduce MAPL_ API constants (w/compat shim) [MAPL3] [:chart_with_upwards_trend: MAPL3, :zero: Diff]#1094
tclune wants to merge 2 commits into
release/MAPL-v3from
feature/1085-gwd-replace-mapl2-dep

Conversation

@tclune

@tclune tclune commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Consolidated StateItemAllocation and FieldBundleType_Flag enums into the new enums/ layer of MAPL.
  • Created new MAPL_-prefixed API exports for these enums in enums/API.F90, marking the beginning of MAPL public API migration.
  • Installed a backwards-compatibility shim temporarily exporting previous (unprefixed) names and types to ensure all downstream clients continue to build.
  • Updated CMake and internal source module usage accordingly.
  • Updated GEOSgcm/CHANGELOG.md to record this transitional step.

NOTE:

  • This is zero-diff for all client interfaces; no science impact expected.
  • Compatibility shim will be removed in a follow-up PR after downstream dependencies are ready.

Resolves MAPL #4973, part of #4969.

Labels

📈 MAPL3
0️⃣ Diff

…nts, and add compatibility shim (#4973)

- Moved StateItemAllocation and FieldBundleType_Flag to enums/
- Created MAPL_-prefixed API layer
- Added temporary compatibility shim
- Updated internal module clients
- Updated CMake files
- Updated CHANGELOG.md

Note: Backwards-compatibility shim present for this release; will be removed in future. Zero-diff for external interfaces. [MAPL3] [:chart_with_upwards_trend: MAPL3] [0 Diff] [:zero: Diff]
@tclune tclune requested review from a team as code owners May 26, 2026 15:22
@mathomp4 mathomp4 changed the base branch from main to release/MAPL-v3 May 27, 2026 15:32
@github-actions

Copy link
Copy Markdown

This PR is being prevented from merging because you have not added one of our required labels to say if they are 0-diff or non-0-diff for uncoulped dataocean runs: 0-diff agcm, non-0-diff agcm, 0-diff structural, 0-diff trivial, automatic, github_actions. Please add so that the PR can be merged.

@github-actions

Copy link
Copy Markdown

This PR is being prevented from merging because you have not added one of our required labels to say if they are 0-diff or non-0-diff for coupled mom6 runs: 0-diff ogcm, non-0-diff ogcm, 0-diff structural, 0-diff trivial, automatic, github_actions. Please add so that the PR can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants