Comments (1)
Gazelle is a bit out-of-sync with rules_go on proto rules. go_grpc_library
is now just a wrapper for go_proto_library
. Gazelle should generate:
go_proto_library(
name = "helloworld_go_proto",
compiler = "@io_bazel_rules_go//proto:go_grpc",
importpath = "build/examples/protobuf",
proto = ":helloworld_proto",
visibility = ["//visibility:public"],
)
#8 is the main tracking issue for this.
I'd prefer not to generate rules with different names depending on the compiler plugin, so I'm closing this as WAI. At some point, Gazelle may be able to update rules with names that differ from Gazelle's regular conventions (#17). Not sure how that would apply to proto rules yet, but it might have the same effect.
from bazel-gazelle.
Related Issues (20)
- Gazelle fails on macOS when using `apple_support` and go version 1.22+ HOT 8
- Cyclical Indirect Dependencies & Go.work can cause divergence HOT 1
- Add support for generated files in gazelle HOT 1
- Gazelle should extract module mappings from imported foo.MODULE.bazel files
- Passing debug_mode via go_deps to go_repository is not supported HOT 2
- Latest gazelle breaks grpc/grpc HOT 5
- Gazelle crashes in repository with MODULE but no WORKSPACE HOT 2
- `go_repository_cache` repository rule doesn't handle MacOS arm64 platform HOT 2
- How to create go_proto_library automatically
- Optimize Gazelle's filesystem walk
- gazelle:resolve_regexp should support regex in label HOT 4
- Using the repo name rules_go removes proto embed from all go_library rules HOT 1
- Gazelle cannot parse new go.mod directives HOT 5
- `rules_go` should work with Go versions older than 1.20
- go.mod FilePath ReplaceDirective fails copying folder. HOT 5
- gazelle fails to fetch some repositories loaded with `go_deps.from_file(go_mod = "//:go.mod")` HOT 3
- request: option to not generate in all directories
- "No repository visible as '@rules_go'" when running gazelle managed by bzlmod HOT 11
- Issue understanding relative proto resolution
- Feature Request: Record Service and Message names in Proto's fileInfo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-gazelle.