opamp-core

Component Versioning

Component version metadata is derived from the current git HEAD commit, commit date, and latest reachable git label/tag.

Generated files:

The generator script is:

Shared-core note

Version generation logic is centralized in one place (scripts/update_component_versions.py) and feeds all service version.json files.

Runtime loading remains component-local (component_version.py in each service) to preserve packaging boundaries:

Where version is shown

Git hook integration

The pre-commit hook updates and stages component version files automatically:

Install hook path once per clone:

GUI clients:

Build and packaging integration

Build/package scripts refresh component version metadata before producing artifacts: