aspect-build / aspect-build/rules_lint

[FR]: Add support for buf plugins to the buf linter

Open
#751 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
154
Forks
125
Avg merge
3d 21h
Merged PRs (30d)
20

Description

### What is the current behavior?

buf supports plugins, which I use in my repository. They are built as separate Go binaries that are specified via a path in buf.yaml. Unfortunately, there is no way to get these in as dependencies in the current implementation of buf_lint_action, because there are no ways to specify dependencies for the rule or the aspect.

### Describe the feature

I just need some way to be able to use a buf plugin, especially one that already exists as a target in my repository (though I imagine others would want to be able to download and compile them from an external repository, as well).

Contributor guide

Open the contributing guide

Research direction

Start by locating buf_lint_action and reading how the rule and aspect declare dependencies; use buf.yaml as the configuration entry point. Determine how an existing repository target can provide the Go plugin and define completion as the buf linter being able to load and run that plugin.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.