Skip to content

check/upgrade values: apply the value migrations of ldproxy-cfg - #11

Open
cportele wants to merge 1 commit into
mainfrom
values-upgrade
Open

cportele wants to merge 1 commit into
mainfrom
values-upgrade

Conversation

@cportele

Copy link
Copy Markdown

New subcommand values for check and upgrade that walks the value files of the types with registered value migrations (ldproxy-cfg Migrations.values(), currently stored queries), reports the available migrations and rewrites the files. The aggregate check and upgrade commands run it between entities and layout. JSON files are written pretty-printed, YAML files with the store mapper.

Depends on ldproxy/ldproxy#1781.

New subcommand `values` for `check` and `upgrade` that walks the value files
of the types with registered value migrations (ldproxy-cfg
`Migrations.values()`, currently stored queries), reports the available
migrations and rewrites the files. The aggregate `check` and `upgrade`
commands run it between `entities` and `layout`. JSON files are written
pretty-printed, YAML files with the store mapper.

Requires the value migrations of ldproxy-cfg 4.9.0; until the release the
branch snapshot 4.9.0-v5-deprecated-options-migration-SNAPSHOT is used.
@cportele
cportele requested a review from azahnen as a code owner September 13, 2026 10:02
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