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

[7.2.0] Validate label attributes of repositories created by module extensions #22537

Merged
merged 1 commit into from
May 24, 2024

Conversation

bazel-io
Copy link
Member

Catches a common gotcha of referencing a repo created by an extension elsewhere in an extension without a use_repo and provides actionable advice to user. This prevents lockfile corruption caused by non-visible labels.

The same validation is applied to labels in tag attributes.

Fixes #21845

Closes #22495.

PiperOrigin-RevId: 636939357
Change-Id: Ib779207502f7767e4e8d3abc55ba7470f75821b9

Commit aa436c3

Catches a common gotcha of referencing a repo created by an extension elsewhere in an extension without a `use_repo` and provides actionable advice to user. This prevents lockfile corruption caused by non-visible labels.

The same validation is applied to labels in tag attributes.

Fixes bazelbuild#21845

Closes bazelbuild#22495.

PiperOrigin-RevId: 636939357
Change-Id: Ib779207502f7767e4e8d3abc55ba7470f75821b9
@bazel-io bazel-io added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels May 24, 2024
@bazel-io bazel-io requested a review from a team as a code owner May 24, 2024 16:14
@bazel-io bazel-io requested a review from Wyverald May 24, 2024 16:14
@iancha1992 iancha1992 enabled auto-merge May 24, 2024 16:58
@iancha1992 iancha1992 added this pull request to the merge queue May 24, 2024
Merged via the queue into bazelbuild:release-7.2.0 with commit f5c91a6 May 24, 2024
33 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 24, 2024
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.

None yet

4 participants