Skip to content

Standardize <DEP>_BRANCH override across libneo consumers #55

@krystophny

Description

@krystophny

The reverse-dependency validation in the proposed development model
(docs/development-model.md, PR #54) rests on one convention: every consumer's
build honors <DEP>_BRANCH (environment or CMake cache variable). When set,
find_or_fetch fetches that dependency at the given ref instead of the
committed default; unset uses the committed pin; a bad ref fails loudly.

LIBNEO_BRANCH is the libneo instance, and SIMPLE already implements it. Bring
the rest to the same behavior:

  • SIMPLE
  • NEO-2
  • NEO-RT
  • MEPHIT
  • KAMEL
  • rabe

Generalize find_or_fetch to read ${DEP_UPPER}_BRANCH, so the same hook
covers fortplot and any future hub with no new mechanism.

Acceptance: dispatching each repo's build with LIBNEO_BRANCH=<ref> builds
against that libneo, with no commit to the repo. This is the single enabling
piece for the release-time gate (libneo issue) and the per-repo integration.yml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions