Skip to content

Assign per-module version from Ship rows and keep catalog update off them - #141

Merged
russwyte merged 1 commit into
mainfrom
feat/ship-version-settings
Aug 28, 2026
Merged

Assign per-module version from Ship rows and keep catalog update off them#141
russwyte merged 1 commit into
mainfrom
feat/ship-version-settings

Conversation

@russwyte

Copy link
Copy Markdown
Contributor

Second implementation slice of independent module versioning (independent-module-versioning.md PR 2).

PR 1 added Ship / ShipGroup rows and fail-closed bump/publish sets. This wires those rows into the plugin: presence of any ship is the feature flag. Empty ships still leaves version to dynver. Aggregators and unpublished apps get 0.1.0-SNAPSHOT instead of a circular version.value. Local is always <row>-ci (releasing flags are later).

What lands

  • zipxShips, zipxMatrixRoot, zipxModverBump
  • ZipxVersions.settings assigns version := Def.uncached from the matching Ship row (or JS/Native suffix of a root)
  • pomPostProcess strips -ci so sibling POM revisions are catalog numbers
  • CatalogSource parses Ship / curried ShipGroup (0/1/many, including new Ship)
  • CatalogApply.applyShipBumps rewrites the version literal by tree span; missing constructor is Left; never writes -ci
  • Catalog apply / zipxDepUpdate / CLI planUpdate leave Ship constructors alone
  • Generate/check run membership and refuse sbt-dynver-ci when ships are present
  • Scripted zipx/modver-settings: mixed versions, POM, catalog isolation, zipxModverBump client

Proof

core/testFull (688), syntax/testFull (13), cli/testFull (8), plugin/scripted zipx/modver-settings. syntax/doc and plugin/doc succeed (needed for publishLocal).

Follow-ups (PR 3+): MiMa suggest/check jobs, propagate, Graph publish filtered by version-moved.

…them

When ZipxVersions has Ship / ShipGroup rows, each publishing project takes
<row>-ci locally. Catalog apply and zipxDepUpdate leave those constructors
alone. zipxModverBump rewrites the version literal by tree span and never
writes -ci.
@russwyte
russwyte merged commit d07bd08 into main Aug 28, 2026
8 checks passed
@russwyte
russwyte deleted the feat/ship-version-settings branch August 28, 2026 18:22
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.

1 participant