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.4.0] Allow unquoted canonical repository names with query #23675

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 19, 2024

Unquoted query words that start with @@ are no longer broken on +, which allows the usage of unquoted canonical labels in expressions. In the very rare case of a shorthand form of a canonical label referring to a WORKSPACE repo (which contains no +), the + can be separated by a space to get the original behavior (e.g. @@foo+bar no longer means @@foo//:foo + //bar:bar, but @@foo +bar does.

Closes #23600.

PiperOrigin-RevId: 673763980
Change-Id: Ie5509647b4e04e2f72b908d609781c79cf7b06d4

Fixes #23601

Unquoted `query` words that start with `@@` are no longer broken on `+`, which allows the usage of unquoted canonical labels in expressions. In the very rare case of a shorthand form of a canonical label referring to a WORKSPACE repo (which contains no `+`), the `+` can be separated by a space to get the original behavior (e.g. `@@foo+bar` no longer means `@@foo//:foo + //bar:bar`,  but `@@foo +bar` does.

Closes bazelbuild#23600.

PiperOrigin-RevId: 673763980
Change-Id: Ie5509647b4e04e2f72b908d609781c79cf7b06d4
@fmeum fmeum requested a review from a team as a code owner September 19, 2024 09:48
@fmeum fmeum requested a review from Wyverald September 19, 2024 09:48
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Documentation Documentation improvements that cannot be directly linked to other team labels labels Sep 19, 2024
@iancha1992 iancha1992 added this pull request to the merge queue Sep 19, 2024
@iancha1992 iancha1992 added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Sep 19, 2024
Merged via the queue into bazelbuild:release-7.4.0 with commit 3300d15 Sep 19, 2024
51 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Sep 19, 2024
@fmeum fmeum deleted the 23601-cherry branch September 23, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants