Make it possible to ignore `buf.yaml` in the `buf_format` rule
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- build-system
Research direction
Start by locating the implementation and tests for the buf_format Bazel rule, then trace how it reads buf.yaml. Compare the requested options—using a custom config or ignoring the existing config—and choose the behavior that lets the rule format all repository proto files. Done means the selected option is configurable and covered by tests.
Written by the indexing model from the issue text.
Description
I have a buf.yaml file in the repo, but it only lists some of the proto files/dirs (for unrelated reasons). I'd like to use the buf_format Bazel rule to format all the proto files in the repo, not only what is listed in buf.yaml. There is currently no way to do what I'd like to do.
Would be good to make it possible to either specify a custom config or ignore the existing config (my preferred option). Or maybe both.
Thank you!
- Dominant language
- Starlark
- Stars
- 63
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bufbuild/rules_buf
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
All issues in bufbuild/rules_buf
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
Bug v3
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
Builders
Difficulty 2/5 1-3 hours Newbie friendliness 72/100