mirror of
https://github.com/google/brotli.git
synced 2026-09-22 06:35:52 +00:00
Publish brotli_go to the Bazel Central Registry #541
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sbarfurth on GitHub (May 30, 2025).
The
gofolder has a handyMODULE.bazelfile, but the specifiedbrotli_gomodule isn't published to the BCR. This makes usage annoying and requires agit_override. It seems relatively straightforward to publish this module to the BCR for a maintainer.As a side note:
We need to use the Bazel module because using the Go module with Gazelle doesn't work for Brotli. The auto-generated target
@com_github_google_brotli_go_cbrotli//:cbrotliwill fail to build.This happens even when there is a
bazel_depwith the correct repository name forbrotlifrom the BCR.@eustas commented on GitHub (May 30, 2025):
Sure, will do that soon.
@eustas commented on GitHub (May 30, 2025):
I think it will be three stage thing, though:
@sbarfurth commented on GitHub (May 30, 2025):
Sounds great, thanks @eustas. Happy to help if needed.
@sbarfurth commented on GitHub (Jun 2, 2025):
For tracking: bazelbuild/bazel-central-registry#4734
@sbarfurth commented on GitHub (Jun 19, 2025):
The PR was merged. Thanks @eustas! We can now depend on the Brotli Golang from the BCR.