Skip to content

fix: update broken registry.bazel.build/docs URLs - #2999

Merged
jbedard merged 1 commit into
aspect-build:mainfrom
georgesfarah:fix/registry-bazel-build-docs-url
Sep 1, 2026
Merged

fix: update broken registry.bazel.build/docs URLs#2999
jbedard merged 1 commit into
aspect-build:mainfrom
georgesfarah:fix/registry-bazel-build-docs-url

Conversation

@georgesfarah

@georgesfarah georgesfarah commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The registry.bazel.build/docs/<name> URL pattern returns 404 and is no longer valid.

The correct URL format is now registry.bazel.build/modules/<name>/latest/docs.

This was identified across multiple Bazel rule repositories — see hermeticbuild/rules_rs#235 for the original fix.

Changes

Replaced broken /docs/<name> URLs and anchor-based fragments with explicit paths:

File-level anchors:

  • #npm-extensions-bzl/npm/extensions.bzl
  • #lint-eslint-bzl (aspect_rules_lint) → /lint/eslint.bzl

Symbol-level anchors:

  • #function-npm_import/npm/extensions.bzl/npm
  • #module_extension-npm_import/npm/extensions.bzl/npm
  • #module_extension-translate_lock/npm/extensions.bzl/pnpm
  • #tag-npm-npm_translate_lock/npm/extensions.bzl/npm
  • #function-jq (jq.bzl) → /jq/jq.bzl/jq
  • #function-patch (bazel_lib) → /lib/repo_utils.bzl/patch
  • #provider-directorypathinfo (bazel_lib) → /lib/directory_path.bzl/DirectoryPathInfo

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c2c573b35b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread README.md Outdated
@georgesfarah
georgesfarah marked this pull request as draft September 1, 2026 19:18
@georgesfarah
georgesfarah force-pushed the fix/registry-bazel-build-docs-url branch from bc6fa4f to 62a69ae Compare September 1, 2026 22:08
@georgesfarah
georgesfarah marked this pull request as ready for review September 1, 2026 22:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 62a69aef71

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread npm/private/npm_package_visibility.bzl Outdated
@georgesfarah
georgesfarah force-pushed the fix/registry-bazel-build-docs-url branch 3 times, most recently from 2fa6bcf to 87656ad Compare September 1, 2026 22:27
The registry.bazel.build/docs/<name> URL pattern returns 404.
The new correct URL format is registry.bazel.build/modules/<name>/latest/docs.

For file-level anchors, replaced with explicit paths:
  #npm-extensions-bzl -> /npm/extensions.bzl
  #lint-eslint-bzl (aspect_rules_lint) -> /lint/eslint.bzl

For symbol-level anchors:
  #function-npm_import -> /npm/extensions.bzl/npm
  #module_extension-npm_import -> /npm/extensions.bzl/npm
  #module_extension-translate_lock -> /npm/extensions.bzl/pnpm
  #tag-npm-npm_translate_lock -> /npm/extensions.bzl/npm
  #function-jq (jq.bzl) -> /jq/jq.bzl/jq
  #function-patch (bazel_lib) -> /lib/repo_utils.bzl/patch
  #provider-directorypathinfo (bazel_lib) -> /lib/directory_path.bzl/DirectoryPathInfo
@jbedard
jbedard force-pushed the fix/registry-bazel-build-docs-url branch from 87656ad to ad4d913 Compare September 1, 2026 22:49
@jbedard
jbedard enabled auto-merge (squash) September 1, 2026 22:51
@jbedard
jbedard merged commit 20cabc0 into aspect-build:main Sep 1, 2026
166 checks passed
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.

2 participants