Skip to content

Migrate buf.gen.yaml from v1 to v2 syntax#418

Merged
jupblb merged 2 commits into
mainfrom
michal/buf
May 14, 2026
Merged

Migrate buf.gen.yaml from v1 to v2 syntax#418
jupblb merged 2 commits into
mainfrom
michal/buf

Conversation

@jupblb
Copy link
Copy Markdown
Collaborator

@jupblb jupblb commented May 14, 2026

No description provided.

jupblb added 2 commits May 14, 2026 12:57
v2 replaces 'name:' (with optional 'path:' override) by a single 'local:'
key that points at the plugin binary directly. The generated output is
byte-identical to the v1 invocation because the same binaries are still
on PATH from flake.nix's proto-generate runtimeInputs.

This is a no-op refactor that lets future plugin additions use v2-only
features (protoc_builtin, remote, etc.).
- bindings/typescript/scip.ts was renamed to scip_pb.ts in commit 8f65a66
  (typescript: migrate protobuf bindings from protoc-gen-ts to protobuf-es).
- yarn.lock no longer exists anywhere in the repo; the project moved to
  npm (bindings/typescript/package-lock.json) in 84019f3 / 8f65a66.

Both entries were matching nothing, so GitHub's linguist was still
counting the renamed/removed files as hand-written code in the language
breakdown.
@jupblb jupblb requested review from eseliger and trly May 14, 2026 10:58
@jupblb jupblb enabled auto-merge (squash) May 14, 2026 11:02
@jupblb jupblb merged commit 1bbf0e1 into main May 14, 2026
12 checks passed
@jupblb jupblb deleted the michal/buf branch May 14, 2026 12:15
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