Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for remaining languages under Bzlmod #299

Open
aaliddell opened this issue Dec 14, 2023 · 7 comments
Open

Support for remaining languages under Bzlmod #299

aaliddell opened this issue Dec 14, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@aaliddell
Copy link
Member

aaliddell commented Dec 14, 2023

This issue tracks the status of migrating languages to the Bzlmod version of the rules. Some languages are complete, some are blocked by external factors and some just need some time spent bringing them over.

Current language state

Key:
❌: Not working and blocked by some other problem
⌛: Not working, but support is likely possible
✅: Working

Language State Notes
Android Android rules in BCR are ancient. grpc-java not in BCR [1] [2]
Buf Full support
C Full support
C++ Full support
C# Looks possible
D No D rules in BCR
Doc Full support
F# Looks possible
Go Full support
gRPC-Gateway Full support
Java grpc-java not in BCR [1] [2]
JavaScript Needs migration to rules_js, looks possible
Kotlin Needs evaluation
Objective-C Full support
PHP No PHP rules in BCR. These rules were maybe never used anyway
Python Full support
Ruby Ruby rules only just landed in BCR
Rust Looks possible
Scala No Scala rules in BCR
Swift Looks possible
TypeScript Looks possible
@ah-quant
Copy link

ah-quant commented May 7, 2024

FYI @aaliddell: grpc-java (patched) is in BCR now, both issues are closed. And the regular version also includes native bzlmod support.

Thanks for this ruleset - I'm eagerly looking forward to a release including Java :)

@ah-quant
Copy link

ah-quant commented May 7, 2024

Also, protobuf (patched) is in BCR (for my Java project, 23.1 works but 26.0 does not; there's a maven conflict if you use rules_jvm_external with a maven repo in your own project).
And it will probably gain native support soon, there's https://github.com/protocolbuffers/protobuf/blob/main/MODULE.bazel now. But automatic publishing to BCR is apparently not active, yet.

@spags-lacework
Copy link

Is there any update on Rust and Javascript/Typescript?

@pcpLiu
Copy link

pcpLiu commented Sep 22, 2024

+1. Would be super appreciated for prioritizing the nodejs support!! For us, it's the only language blocking to migrate to 5x and bzmold.

Is there any update on Rust and Javascript/Typescript?

@aaliddell
Copy link
Member Author

I drafted out some of the JS rules during the 5.0.0 work and it needs some modernisation from 4.x.x. Rules nodejs would be replaced with rules_js, but what’s the current ‘recommended’ protobuf and grpc libraries for JS? Still grpc-node or is connect the new player?

@pcpLiu
Copy link

pcpLiu commented Oct 3, 2024

@aaliddell not an expert but grpc-node looks more reliable to me as it's maintained by the grpc team?

@jduan-highnote
Copy link

Both issues related to Java grpc/grpc-java#9559 bazelbuild/bazel-central-registry#353 have been addressed. Is it fair to say that Java is 100% supported now for this rule?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants