Open
Conversation
Contributor
|
Thanks! Is this a registry of Buf plugins? Should I create a username there to register this? |
Contributor
|
I created #174 which replicates this PR using an official distribution at https://buf.build/alta/protopatch. Do you have a sense for what should be in the README to document how Buf users would use this? - local: protoc-gen-go-patch
out: gen
opt:
- paths=source_relative
- plugin=go |
Contributor
|
If you want to grab the changes from #174 and incorporate them here, I'd also like to see tests (local, CI) that validate Buf works. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding these files allows the project to be uploaded to the buf.build BSR. Apparently it won't work as a remote plugin, but it's still nice as a dependency for
import "patch/go.proto";in Buf projects.See bufbuild/plugins#858