Skip to content

[Devops] Branching Strategy - Phase 2.A - Internal versions #508

Description

@lowlydba

Goal

Build the version scheme foundation and CI compute logic for all branch contexts.

Scope: version computation for vnext, main, and main-bump. No release triggering or publishing — those are Phase 2.B (#533) and Phase 3 (#509) respectively.

Version scheme

Each of the 12 packages in packages/* carries <major>.<minor>.<patch> in its own pyproject.toml. Rules:

  • <major> and <minor> are git-controlled. Bumped manually by a human-authored commit per the classification table. Per-package independent.
  • <patch> in pyproject.toml is seed/informational only. CI computes the actual published <patch> at build time (see compute-version).
  • packages/overture-schema is the canonical schema package.

Tasks

p2-version-scheme

  • Audit and establish baseline <major>.<minor> versions for all 12 packages.
  • Document version bump rules per the classification table.

compute-version

Reusable CI composite action: given (package, branch context), returns version string to publish.

Context Output version
vnext <last-published>+dev.<run_number> (PEP 440 local) — highest version for that pkg in CA. Falls back to <major>.<minor>.0+dev.<run_number> if never published.
main <major>.<minor>.<next-patch> — highest existing <patch> for that <major>.<minor> in CA + 1. Falls back to <major>.<minor>.0.
main-bump <major>.<minor>.0 (patch resets to 0)

Definition of done

Activity

  1. changed the title [-][Devops] Branching Strategy - Phase 2[/-] [+][Devops] Branching Strategy - Phase 2.A - Internal versions[/+] on May 20, 2026
  2. added 6 commits that reference this issue on May 21, 2026
    3910756
    393040a
    7318477
    e1abdfe
    d33ed40
    720291d
  3. added a commit that references this issue on Jul 13, 2026
    e36655d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions