Skip to content

Migrate from protobuild to buf#389

Draft
kzys wants to merge 1 commit intomainfrom
buf
Draft

Migrate from protobuild to buf#389
kzys wants to merge 1 commit intomainfrom
buf

Conversation

@kzys
Copy link
Member

@kzys kzys commented Feb 27, 2026

Like containerd did recently, we can migrate from protobuild to buf.

containerd/containerd#12762

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

# /usr/local is not writable from GitHub Actions' user
sudo unzip protoc-21.5-linux-x86_64.zip -d /usr/local
- name: Install protoc-gen-go
run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious on having this vs

  - remote: buf.build/grpc/go:v1.2.0
    out: .
    opt:
      - paths=source_relative

in buf.gen.yaml

What are benefits?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was for reducing the size of the diff, but it doesn't actually affect the output. Let me remove the flag.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry. I thought you were talking about -paths=source_relative. Does buf.build/grpc/go:VERSION lock the version? Let me double-check.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you can pin version.

Like containerd did recently, we can migrate from protobuild to buf.

containerd/containerd#12762

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kazuyoshi Kato <kazuyoshi.kato@baseten.co>
@kzys kzys marked this pull request as draft February 27, 2026 21:04
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