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

Use buildbuddy_internal visibility on some enterprise/ packages #3652

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Mar 26, 2023

gazelle: allow internal visibility

We depend on the open source targets when build from the
buildbuddy_internal workspace. Therefore let's allow visibility to all
internal subpackages.

This is strict enough visibility setting without exposing the
structure of our internal repository.

Note: The visibility in enterprise/server/cmd/server/yaml_doc/BUILD was changed
to allow @buildbuddy_internal even though it's not required. This should be fixed
in the next Gazelle release via bazelbuild/bazel-gazelle#1472.

This reverts commit 9f0a2e5.

Closes https://github.com/buildbuddy-io/buildbuddy-internal/issues/2171


Version bump: None

@sluongng sluongng force-pushed the sluongng/gazelle-internal-visible branch from b930ab8 to b03fa18 Compare March 26, 2023 10:18
We depend on the open source targets when build from the
buildbuddy_internal workspace. Therefore let's allow visibility to all
internal subpackages.

This is strict enough visibility setting without exposing the
structure of our internal repository.
@sluongng sluongng force-pushed the sluongng/gazelle-internal-visible branch from b03fa18 to 43c4011 Compare March 26, 2023 10:55
@sluongng sluongng marked this pull request as ready for review March 26, 2023 10:55
@sluongng sluongng enabled auto-merge (squash) March 26, 2023 10:55
@sluongng sluongng requested a review from bduffany March 27, 2023 06:58
@sluongng sluongng merged commit bc0564a into master Mar 27, 2023
@sluongng sluongng deleted the sluongng/gazelle-internal-visible branch March 27, 2023 15:31
@bduffany bduffany changed the title sluongng/gazelle internal visible Use buildbuddy_internal visibility on some enterprise/ packages Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants