Background
HdrHistogram_c is available in the Bazel Central Registry (BCR) as the module hdrhistogram_c, used by Bazel projects via Bzlmod. Until recently it was pinned at 0.11.2. I just opened a PR to add 0.11.9: bazelbuild/bazel-central-registry#8707.
The BCR entry currently has "No Maintainer Specified", which is why versions had been lagging behind upstream releases.
Proposal
Adopt the Publish to BCR GitHub App in this repository so that future HdrHistogram_c releases automatically open BCR PRs without anyone needing to remember.
What it requires
A one-time setup committed to this repo:
- Install the Publish to BCR GitHub App on
HdrHistogram/HdrHistogram_c.
- Add a
.bcr/ directory to this repo with templates the bot will use to file BCR PRs:
.bcr/metadata.template.json — module metadata, including maintainers.
.bcr/source.template.json — source URL pattern (uses {VERSION} substitution against the release tag).
.bcr/presubmit.yml — Bazel CI matrix to run on each new version (build the @hdrhistogram_c//:hdrhistogram_c target, same as today's BCR config).
.bcr/patches/ — the BUILD.bazel and MODULE.bazel add-patches (since this repo doesn't ship Bazel build files).
What it gets you
- New GitHub releases automatically file a BCR PR within minutes of being published.
- Downstream Bazel users (including projects that have to backfill versions today, like the PR linked above) get the new version without waiting for someone to notice and submit it.
- Zero maintenance burden after the initial setup — the bot runs unattended on each release tag.
References
Happy to put up the .bcr/ directory as a PR if there's interest — most of the contents can be lifted directly from the existing BCR entry.
Background
HdrHistogram_cis available in the Bazel Central Registry (BCR) as the modulehdrhistogram_c, used by Bazel projects via Bzlmod. Until recently it was pinned at0.11.2. I just opened a PR to add0.11.9: bazelbuild/bazel-central-registry#8707.The BCR entry currently has "No Maintainer Specified", which is why versions had been lagging behind upstream releases.
Proposal
Adopt the Publish to BCR GitHub App in this repository so that future
HdrHistogram_creleases automatically open BCR PRs without anyone needing to remember.What it requires
A one-time setup committed to this repo:
HdrHistogram/HdrHistogram_c..bcr/directory to this repo with templates the bot will use to file BCR PRs:.bcr/metadata.template.json— module metadata, including maintainers..bcr/source.template.json— source URL pattern (uses{VERSION}substitution against the release tag)..bcr/presubmit.yml— Bazel CI matrix to run on each new version (build the@hdrhistogram_c//:hdrhistogram_ctarget, same as today's BCR config)..bcr/patches/— theBUILD.bazelandMODULE.bazeladd-patches (since this repo doesn't ship Bazel build files).What it gets you
References
Happy to put up the
.bcr/directory as a PR if there's interest — most of the contents can be lifted directly from the existing BCR entry.