Skip to content

build(kbd): generate/verify .kbd layouts + CI check (#702) - #707

Closed
alexis900 wants to merge 1 commit into
fix/kbd-layouts-394from
fix/kbdcompile-build-702
Closed

alexis900 wants to merge 1 commit into
fix/kbd-layouts-394from
fix/kbdcompile-build-702

Conversation

@alexis900

Copy link
Copy Markdown
Collaborator

Cierra #702. Stacked sobre #705 (necesita el renombrado a en-US/es-ES).

Qué

kbdcompile no se invocaba en ningún sitio; los data/keyboard/*.kbd son artefactos commiteados y podían quedar obsoletos (una vez se enviaron vacíos).

  • scripts/gen-keyboard-layouts.sh: regenera data/keyboard/<tag>.kbd desde data/keyboard/<tag>.klc.
  • scripts/check-keyboard-layouts.sh: falla si un .kbd falta, no mapea scancodes o difiere de una compilación nueva.
  • Job de CI keyboard-layouts que ejecuta el check.
  • Corrige la doc (neokbd-design.md): se generan a mano, no en el build de imagen.

Verificación

./scripts/check-keyboard-layouts.sh → OK; regenerar es idempotente (sin cambios).

kbdcompile was never invoked by the image build, so the committed .kbd
could drift (they shipped empty once). Add:

- scripts/gen-keyboard-layouts.sh: regenerate data/keyboard/<tag>.kbd
  from data/keyboard/<tag>.klc.
- scripts/check-keyboard-layouts.sh: fail if a .kbd is missing, maps no
  scancodes, or differs from a fresh compile.
- a CI job running the check.
- doc fix: the layout files are generated by hand, not by the image build.
@alexis900

Copy link
Copy Markdown
Collaborator Author

Superado por #705: el pipeline pasa a XKB y elimina los .klc, así que los scripts de kbdcompile/.klc ya no aplican.

@alexis900 alexis900 closed this Oct 13, 2026
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