Skip to content

feat(schema): add seeded_from for cross-repo split version continuity - #660

Open
hdamker wants to merge 1 commit into
camaraproject:mainfrom
hdamker:feat/seeded-from-release-plan-schema
Open

feat(schema): add seeded_from for cross-repo split version continuity#660
hdamker wants to merge 1 commit into
camaraproject:mainfrom
hdamker:feat/seeded-from-release-plan-schema

Conversation

@hdamker

@hdamker hdamker commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

What type of PR is this?

enhancement/feature

What this PR does / why we need it:

This is only relevant for repositories created by splitting APIs out of an existing repository. Adds an optional seeded_from section to release-plan.yaml's schema, letting a repository declare that one or more of its APIs continue a pre-release (rc/alpha) version chain seeded from a predecessor repository. This is needed when APIs move into a new repository through a repository split, so Release Automation doesn't restart pre-release numbering at rc.1/alpha.1 and collide with a version already published for that API in the predecessor. The seed is a one-time, hand-declared fact (provenance fields plus per-API last_rc_api_version/last_alpha_api_version), not a live cross-repo lookup.

Which issue(s) this PR fixes:

Part of camaraproject/tooling#441

Special notes for reviewers:

Schema-only change. The vendored schema copy in hdamker/tooling and the version-calculation logic that reads last_rc_api_version/last_alpha_api_version are a separate, following PR, per the sequencing in tooling#441.

Changelog input

release-note
Add optional `seeded_from` section to release-plan.yaml schema for cross-repo split version continuity.

Additional documentation

docs
Document `seeded_from` in documentation/metadata/release-plan.md.

Repository splits move APIs into a new repository whose own release
history is empty, so RA's version calculation would otherwise restart
pre-release numbering at rc.1/alpha.1 and collide with versions already
published for the API in the predecessor repository. seeded_from
declares the last published rc/alpha version as a one-time, hand-typed
fact rather than a live cross-repo lookup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant