Skip to content

New tool: Buf #6304

@lberrymage

Description

@lberrymage

Tool name

Buf

What is the tool used for?

Buf is a tool for working with Protocol Buffers. It is required for implementing Buf Schema Registry module support in Renovate as per renovatebot/renovate#24741 and Renovate's developer documentation.

Tool scope

  • Runtime only (CLI / binary)
  • Full development stack (headers, SDK, compiler)

Supported version range

>=1.66.1 <2.0.0

I don't see any particular reason to support versions lesser than 1.66.1 (the latest at the time of writing).

Key commands that must work

buf --version
buf dep update

Uninstall strategy

rm -f /usr/local/bin/buf

License of the tool (and any pre‑built binaries)

Apache-2.0

Minimal Dockerfile snippet (optional but highly encouraged)

FROM ubuntu:24.04

RUN apt-get update \
    && apt-get install -y curl \
    && curl -fsSL https://github.com/bufbuild/buf/releases/download/v1.66.1/buf-Linux-x86_64 \
        -o /usr/local/bin/buf \
    && chmod +x /usr/local/bin/buf

The tool is also available as a Docker image at https://hub.docker.com/r/bufbuild/buf.

Suggested tests

# Test 1 - Runtime availability
RUN buf --version

# Test 2 - Lock file update
COPY buf.yaml buf.lock .
RUN buf dep update

Any other relevant information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions