Skip to content

Regenerate a package's dependents when its catalog entry changes - #93

Open
itvi-1234 wants to merge 1 commit into
runtimeconditions:mainfrom
itvi-1234:regenerate-package-dependents
Open

itvi-1234 wants to merge 1 commit into
runtimeconditions:mainfrom
itvi-1234:regenerate-package-dependents

Conversation

@itvi-1234

Copy link
Copy Markdown
Member

Each generated package records the version of every package it depends on: env-configuration's Go module requires the common module at a version, and its release metadata names the version it was tested with. When a package entry changed, for example the Go patch bumps in b7724e7, only that package was regenerated. env-configuration kept requiring common v0.4.0 while the catalog said 0.4.1, and the Go publish refused it: "env-configuration:go: dependency is missing or its catalog version differs".

A changed or new package entry now also regenerates, in the same language, every package whose root extension depends on that package's root extension. Other languages are left alone, since each records only its own language's dependencies. Run against b7724e7, the selection now adds env-configuration:go to the four bumped Go packages.

Each generated package records the version of every package it depends on:
env-configuration's Go module requires the common module at a version, and its
release metadata names the version it was tested with. When a package entry
changed, for example the Go patch bumps in b7724e7, only that package was
regenerated. env-configuration kept requiring common v0.4.0 while the catalog
said 0.4.1, and the Go publish refused it: "env-configuration:go: dependency is
missing or its catalog version differs".

A changed or new package entry now also regenerates, in the same language,
every package whose root extension depends on that package's root extension.
Other languages are left alone, since each records only its own language's
dependencies. Run against b7724e7, the selection now adds env-configuration:go
to the four bumped Go packages.
@itvi-1234
itvi-1234 requested a review from colinjlacy November 30, 2026 12:20

This branch has not been deployed

No deployments
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.

2 participants