Skip to content

docs: take the chart version from Chart.yaml #472

Closed

Description

@uniqueg

The docs hook (docs/hooks.py, #453/PR #462) replaces {{ version }} with FOCA's release version, and the drift guard tests/test_version_mentions.py keeps it from being hard-coded. The version of the library chart foca-common (independent of FOCA's) is still hard-coded in the docs, e.g., in the dependency snippets of docs/helm-chart.md and docs/deployment.md, and goes stale with every chart release (maintainer decision, 2026-10-24).

  • Add {{ chart_version }} to the docs hook, replaced with the version of charts/foca-common/Chart.yaml, as elixir-cloud-aai/cloud-registry does for its chart (cloud-registry PR build: drop support for py3.8 #224), where it fits.
  • Use it for the current chart version in the docs, wherever they mean "the current chart version" (not where they name a particular release, e.g., "up to 0.1.0").
  • Extend the drift guard to the current chart version (allowlist: Chart.yaml, the chart's changelog or release notes, the migration guides).

Acceptance criteria

  • {{ chart_version }} is replaced in all pages, also in code blocks; other {{ ... }} (e.g., of Helm templates) are left as they are.
  • The docs no longer hard-code the current chart version.
  • The drift guard fails if the current chart version is hard-coded outside the allowlist; tests at 100% coverage; the strict docs build passes.
  • docs/contributing.md (versioning and releases) mentions the placeholder.

Activity

  1. added this to the v0.18.0 milestone on Oct 24, 2026
  2. added
    priority: medium
    status: in progress
    type: docs
    workload: hours
    on Oct 24, 2026
  3. removed
    status: in progress
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: docsworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions