Class CascadeReporter
java.lang.Object
network.ike.workspace.cascade.CascadeReporter
Formats the cascade-awareness messages that
ike:release-draft
and ike:release-publish print (IKE-Network/ike-issues#402,
#420).
In the decentralized cascade model every project version-controls
its own src/main/cascade/release-cascade.yaml, so the
releasing repo's own ProjectCascade is all the reporter
needs — no graph assembly, no sibling checkouts. The downstream
edges of that file are exactly the foundation repos a release makes
stale.
This reporter does not inspect git history: after a foundation repo is released, every downstream repo is definitionally stale. The point is visibility — the operator cannot finish a single-repo release without seeing what the cascade says comes next.
-
Method Summary
Modifier and TypeMethodDescriptiondraftPreview(ProjectCascade local, String repo) Builds the cascade preview section forike:release-draft.publishFooter(ProjectCascade local, String repo) Builds the post-release cascade footer forike:release-publish.
-
Method Details
-
draftPreview
Builds the cascade preview section forike:release-draft.- Parameters:
local- the project's own parsed manifestrepo- the project's repo/directory name- Returns:
- log lines naming the downstream repos this release will make stale; an end-of-cascade advisory when nothing is downstream