Migrate to google.golang.org/protobuf (v2) via protoc-gen-star v2#783
Migrate to google.golang.org/protobuf (v2) via protoc-gen-star v2#783elliotmjackson merged 6 commits intobufbuild:mainfrom
Conversation
|
cc @elliotmjackson for visibility since this is my first contribution 😄 |
elliotmjackson
left a comment
There was a problem hiding this comment.
Thanks for the contribution and nudge @pdecks! you'll just want to revert your change to validate/validate.pb.go and this will be good to go.
Great, thanks! I just pushed up that revert commit. |
Head branch was pushed to by a user without write access
|
Pardon the multiple pings -- the CI tests weren't running initially so I thought I needed re-approval. |
|
@pdecks feel free to run |
Thanks, @elliotmjackson ! It took me a minute to figure out how to work with Bazel. |
When this project is used in a repo that uses Gazelle, the build fails with the following error: #535 (comment) That error was introduced when protoc_gen_star was updated to v2 in #783 and `dependencies.bzl` was (I believe) manually updated. Should gazelle be used to update `dependencies.bzl`, it would choose `com_github_lyft_protoc_gen_star_v2` as a name for the repo, as I showed here: alexbozhenko#1 This PR updates all references to that repo to use the correct name, which is expected by Gazelle. PR was created with: ``` sed -i 's/com_github_lyft_protoc_gen_star/com_github_lyft_protoc_gen_star_v2/g' $(rg -l com_github_lyft_protoc_gen_star) ``` Co-authored-by: Chris Roche <github@rodaine.com>
protoc-gen-star/v2migrated fromgithub.com/golang/protobuf(v1) togoogle.golang.org/protobuf(v2). This PR removes the underlying dependency ongithub.com/golang/protobufby upgrading toprotoc-gen-star/v2.see changelog: lyft/protoc-gen-star@v0.6.2...v2.0.1