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

feat(bazel): make googleapis a Bzlmod module #892

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

keith
Copy link

@keith keith commented Mar 27, 2024

This depends on bazelbuild/bazel-central-registry#1699 because of a circular dependency on grpc-java

This is based on #855 with some fixes

switched_rules.use_languages(
cc = True,
# csharp = True,
# gapic = True,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i left some of these out, which means not everything in the repo builds with bzlmod enabled, in order to support each of these we'll have to move their deps to bzlmod, which is potentially difficult depending on their transitives

Copy link

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this a great start!


load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

_disco_to_proto3_converter_version = "74c0ede1e6871c878de6c3cab3ef152280c6518f"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are those only dev dependencies?

Copy link
Author

@keith keith Mar 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they aren't. i didn't handle all the different language specific dependencies here, and this one is one that was easy enough to throw here so that a few more targets built when testing the integration in this repo.

@keith keith marked this pull request as ready for review April 12, 2024 18:42
@keith keith requested a review from meteorcloudy April 12, 2024 18:42
@keith
Copy link
Author

keith commented Apr 12, 2024

the dependency is merged so this is reviewable now!

@keith
Copy link
Author

keith commented May 24, 2024

@meteorcloudy could you help route this?

@meteorcloudy
Copy link

I'll ask around

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants