Skip to content

feat: config keys from chant's product vocabulary, with today's spellings as aliases - #392

Merged
lex00 merged 1 commit into
mainfrom
feat/390-vocabulary
Nov 21, 2026
Merged

lex00 merged 1 commit into
mainfrom
feat/390-vocabulary

Conversation

@lex00

@lex00 lex00 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

yodel.config.ts reads the keys of chant's product vocabulary and keeps reading each earlier spelling.

Key Earlier spelling, still read
ci.identity ci.login
notify.webhookKey notify.key
notify.relayKey notify.relay
  • src/config/vocabulary.ts runs chant's productConfigProblems (product sql-yodeler, camelCase, scope ci) and moves each key onto the spelling the rest of yodel reads, so the renderer and notify code are unchanged.
  • yodel config check prints one warning per earlier spelling on stderr, naming the key. Loading refuses the errors chant reports, such as a key set beside its earlier spelling.
  • docs/configuration.md lists one line per accepted spelling; the docs write the keys.

The other keys of the vocabulary that sql-yodeler uses (forges, image, gate, approval, evidence.*, notify.webhook, notify.slack, notify.teams, notify.events, notify.relayName) are spelled the same already. The init templates set none of the three renamed keys.

It imports productConfigProblems from @intentius/chant/ci-product, which chant 0.124.110 carries. main already pins that release since #391 merged, so this branch adds no pin change of its own. It is rebased onto main after #391.

On the pinned chant, npm ci && npm run build && npm run check passes.

Closes #390

@lex00
lex00 force-pushed the feat/390-vocabulary branch from 1a6d967 to c66cb9e Compare November 21, 2026 01:45
@lex00
lex00 marked this pull request as ready for review November 21, 2026 01:45
@lex00
lex00 enabled auto-merge November 21, 2026 01:45
@lex00
lex00 added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit ea64f7f Nov 21, 2026
8 checks passed
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.

Config keys from chant's product vocabulary, with today's spellings as aliases

1 participant