Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Provide guidance on how to use buf_breaking w/o needing buf build.

Open Beginner friendly
#161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet

Research direction

Start by reading the rules_buf documentation and the issue's references to buf_breaking, buf build, and proto_descriptor_set. Add user-facing guidance for running buf_breaking without buf build in fully Bazel-based repositories, including how the descriptor input fits the workflow; done means a user can follow the documented path without connecting these concepts themselves.

Written by the indexing model from the issue text.

Description

For fully bazel repositories, buf build may not be possible to use for some variety of reasons (in our case, we're using a many repo setup and have to account for complexities like bazel-generated files, we do not want to publish packages to multiple places.)

While it is easy to just use buf breaking anyway by constructing the image file using proto_descriptor_set, this is not spelled out in a user-friendly way and requires a bit of playing connect the dots ("oh a buf image is just an extended proto file descriptor, and I can build one of those through other means.")

It'd likely be helpful for other end users if this was made clearer in rules_buf's documentation.

On our end, we solved our build integration using a finalizer macro to create the lockfile image and apply linting, and have our own in-house lint to enforce the use of said finalizer macro.

Dominant language
Starlark
Stars
63
Forks
41
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bufbuild/rules_buf

All issues in bufbuild/rules_buf

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.