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

Improve use_repo_rule error when not referencing a repository_rule #20657

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 22, 2023

Makes the error message less confusing when referencing an existing symbol that happens to be a macro, not a repository rule.

@github-actions github-actions bot added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Dec 22, 2023
@fmeum fmeum force-pushed the use-repo-rule-type branch from e9b555a to 5c7a45d Compare December 22, 2023 08:14
@sgowroji sgowroji added awaiting-user-response Awaiting a response from the author and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 28, 2023
Makes the error message less confusing when referencing an existing
symbol that happens to be a macro, not a repository rule.
@fmeum fmeum force-pushed the use-repo-rule-type branch from 5c7a45d to a13ba3d Compare January 2, 2024 13:27
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 2, 2024

@bazel-io fork 7.1.0

@meteorcloudy meteorcloudy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-user-response Awaiting a response from the author labels Jan 2, 2024
@copybara-service copybara-service bot closed this in 69fa6cb Jan 3, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jan 3, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jan 3, 2024
Makes the error message less confusing when referencing an existing symbol that happens to be a macro, not a repository rule.

Closes bazelbuild#20657.

PiperOrigin-RevId: 595434847
Change-Id: Ifc37a65685c0196301d79a439f3245037cf39e21
@fmeum fmeum deleted the use-repo-rule-type branch January 4, 2024 13:13
github-merge-queue bot pushed a commit that referenced this pull request Jan 4, 2024
…ory_rule` (#20732)

Makes the error message less confusing when referencing an existing
symbol that happens to be a macro, not a repository rule.

Closes #20657.

Commit
69fa6cb

PiperOrigin-RevId: 595434847
Change-Id: Ifc37a65685c0196301d79a439f3245037cf39e21

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Co-authored-by: Xùdōng Yáng <wyverald@gmail.com>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.1.0 RC1. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants