bazel central registry lacks releaseTimestamp #42258
Replies: 3 comments 4 replies
-
|
Looking into this in more depth:
I guess that the timestamp is based on the commit that introduced those files? If so, that may be a slightly expensive lookup for us to make (as we'll need to do an additional API call per release, per package) - thoughts @viceice ? The "best case" I'd go for is that the |
Beta Was this translation helpful? Give feedback.
-
Yes, the commit timestamp is good for release time. please clarify, what is the extra API call? I see that I can find the content of |
Beta Was this translation helpful? Give feedback.
-
|
Here's a suggestion: If you fetch e.g. https://registry.bazel.build/modules/gazelle and parse it, there is an element {
"props": {
"pageProps": {
"metadata": {
"homepage": "https://github.com/bazel-contrib/bazel-gazelle",
"maintainers": [
...
],
"repository": [
"github:bazel-contrib/bazel-gazelle"
],
"versions": [
"0.26.0",
"0.27.0",
...
"0.49.0",
"0.50.0"
],
"yanked_versions": {
"0.26.0": "Obsolete experimental version that emits debug prints. Update to 0.30.0 or higher",
"0.27.0": "Obsolete experimental version that emits debug prints. Update to 0.30.0 or higher",
"0.28.0": "Obsolete experimental version that emits debug prints. Update to 0.30.0 or higher"
}
},
"versionInfos": [
{
"version": "0.50.0",
"submission": {
"status": [
"A"
],
"files": [
"modules/gazelle/0.50.0/source.json"
],
"hash": "9c7e00f6cb5f41e16a0cb6f74720f30f34ffb535",
"authorDate": "2026-04-07 21:12:55 +0200",
"authorDateRel": "3 days ago",
"authorDateIso": "2026-04-07T19:12:55Z"
},
...Note in particular the If you're not comfortable ingesting the HTML, plausibly we could ask https://github.com/bazel-contrib/bcr-ui to also add that as a standalone json file on the website. This would only work for the central registry (not other registries the user might have specified in their config file), but that still covers a wide majority of users. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
I use renovate to maintain in my
MODULE.bazelMy renovate config contains
"minimumReleaseAge": "7 days",It appears that
renovatecannot determine when modules are released to Bazel Central Registry, but that information is available on github.I get the following in logs
More details from the logs:
However, for each component there is a published date available.
aspect_bazel_lib: https://registry.bazel.build/modules/aspect_bazel_lib 2.22.5 "published 3 months ago" -> bazelbuild/bazel-central-registry@a92a650On registry.bazel.build it only shows "days ago", but clicking on the link navigates to a specific commit with a full timestamp

gazelle: https://registry.bazel.build/modules/gazelle version 0.48.0 -> bazelbuild/bazel-central-registry@87560dbbazel_skylibhttps://registry.bazel.build/modules/bazel_skylib 1.9.0 "published 3 months ago" -> bazelbuild/bazel-central-registry@e42de35Beta Was this translation helpful? Give feedback.
All reactions