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

Partial fix for bug with creating a junction to file instead of symlink #24051

Conversation

AlexanderGolovlev
Copy link
Contributor

This is a partial fix for issue #21747 for the --windows_enable_symlinks case.
The fix was suggested in discussion of this issue. This resolves the problem with creating a junction if the target path doesn't exist for those who have Windows symlinks enabled, until a complete solution is provided.

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Oct 22, 2024
Copy link
Contributor

@tjgq tjgq left a comment

Choose a reason for hiding this comment

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

Thanks!

@tjgq tjgq added area-Windows Windows-specific issues and feature requests team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Oct 22, 2024
@tjgq
Copy link
Contributor

tjgq commented Oct 22, 2024

@bazel-io fork 8.0.0

@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 Oct 22, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Oct 23, 2024
This is a partial fix for issue bazelbuild#21747 for the `--windows_enable_symlinks` case.
The fix was suggested in discussion of this issue. This resolves the problem with creating a junction if the target path doesn't exist for those who have Windows symlinks enabled, until a complete solution is provided.

Closes bazelbuild#24051.

PiperOrigin-RevId: 688724224
Change-Id: Ie44f7834af5fd35ab57961e6012b9f336c25d606
github-merge-queue bot pushed a commit that referenced this pull request Oct 25, 2024
…of symlink (#24058)

This is a partial fix for issue #21747 for the
`--windows_enable_symlinks` case.
The fix was suggested in discussion of this issue. This resolves the
problem with creating a junction if the target path doesn't exist for
those who have Windows symlinks enabled, until a complete solution is
provided.

Closes #24051.

PiperOrigin-RevId: 688724224
Change-Id: Ie44f7834af5fd35ab57961e6012b9f336c25d606

Commit
3e5514d

Co-authored-by: Alexander Golovlev <[email protected]>
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 8.0.0 RC2. 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=8.0.0rc2. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Windows Windows-specific issues and feature requests 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