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 issues not navigating to source files in BwB mode #893

Merged

Conversation

brentleyjones
Copy link
Contributor

@brentleyjones brentleyjones commented Aug 5, 2022

Fixes #482.

Bazel using relative paths breaks Xcode's handling of error paths in the build log. Also, external/ and bazel-out/ prefixes need to be translated to be based on the $BAZEL_OUT and $BAZEL_EXTERNAL build settings, which are probably rooted somewhere in /var/tmp.

As a bonus, it strips out color ANSI codes in the log, and forces color to be on. This brings color back to BES logs.

Thank you @keith for providing me with a baseline implementation of this!

Bazel using relative paths breaks Xcode's handling of error paths in the build log. Also, `external/` and `bazel-out/` prefixes need to be translated to be based on the `$BAZEL_OUT` and `$BAZEL_EXTERNAL` build settings, which are probably rooted somewhere in `/var/tmp`.

As a bonus, strip out color ANSI codes in the log, and force color to be on. This brings color back to BES logs.

Thank you @keith for providing me with a baseline implementation of this!
@brentleyjones brentleyjones merged commit 4f9bcb5 into main Aug 5, 2022
@brentleyjones brentleyjones deleted the bj/fix-issues-not-navigating-to-source-files-in-bwb-mode branch August 5, 2022 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Issues in External Repositories don't resolve to a valid path
2 participants