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

fix: Support bazel 8 and --noenable_workspace mode #6990

Merged
merged 5 commits into from
Nov 13, 2024

Conversation

tpasternak
Copy link
Contributor

@tpasternak tpasternak commented Nov 13, 2024

closes #6984

there's still a known limitation - you can't downgrade Bazel from 8 to 7, but I'll handle that later

Checklist

  • I have filed an issue about this change and discussed potential changes with the maintainers.
  • I have received the approval from the maintainers to make this change.
  • This is not a stylistic, refactoring, or cleanup change.

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.

Discussion thread for this change

Issue number: <please reference the issue number or url here>

Description of this change

@tpasternak tpasternak marked this pull request as ready for review November 13, 2024 13:42
@github-actions github-actions bot added product: CLion CLion plugin product: IntelliJ IntelliJ plugin product: GoLand GoLand plugin awaiting-review Awaiting review from Bazel team on PRs labels Nov 13, 2024
if (versionData.bazelIsAtLeastVersion(6, 0, 0)) {
boolean useInjectedRepository = versionData.bazelIsAtLeastVersion(8, 0, 0);
if (useInjectedRepository) {
aspectFlag = "--aspects=@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect";
Copy link
Collaborator

@mai93 mai93 Nov 13, 2024

Choose a reason for hiding this comment

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

why do we have to bring this back to a single @?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tpasternak tpasternak merged commit fc3990b into bazelbuild:master Nov 13, 2024
8 checks passed
@tpasternak tpasternak deleted the bazel-8-inject-repository branch November 13, 2024 20:40
@github-actions github-actions bot removed the awaiting-review Awaiting review from Bazel team on PRs label Nov 13, 2024
agluszak added a commit that referenced this pull request Nov 14, 2024
tpasternak pushed a commit to tpasternak/bazel-intellij that referenced this pull request Nov 14, 2024
…ild#6990)"

This reverts commit fc3990b.

We have to wait until bazel8 rc3
tpasternak pushed a commit that referenced this pull request Nov 14, 2024
…#6997)

This reverts commit fc3990b.

We have to wait until bazel8 rc3
tpasternak pushed a commit to tpasternak/bazel-intellij that referenced this pull request Nov 25, 2024
mai93 pushed a commit that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product: CLion CLion plugin product: GoLand GoLand plugin product: IntelliJ IntelliJ plugin
Projects
Development

Successfully merging this pull request may close these issues.

Sync fails without --enable_workspace
3 participants