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

Support %workspace% in execution log paths #23813

Closed
wants to merge 1 commit into from

Conversation

keith
Copy link
Member

@keith keith commented Sep 30, 2024

Previously the execution logs were always written to relative paths.
This caused an issue if you put this flag in your .bazelrc and
expected the log to be produced in a relative directory. You can now use
%workspace% to handle writing to the root of your workspace.

Fixes #22267

Previously the execution logs were always written to relative paths.
This caused an issue if you put this flag in your `.bazelrc` and
expected the log to be produced in a relative directory. You can now use
`%workspace%` to handle writing to the root of your workspace.

Fixes #22267
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Sep 30, 2024
@fmeum fmeum requested a review from meisterT September 30, 2024 20:54
@fmeum
Copy link
Collaborator

fmeum commented Sep 30, 2024

@bazel-io fork 7.4.0

@keith
Copy link
Member Author

keith commented Sep 30, 2024

macOS failure here appears unrelated

@iancha1992 iancha1992 added team-Configurability platforms, toolchains, cquery, select(), config transitions team-CLI Console UI labels Sep 30, 2024
@iancha1992
Copy link
Member

@keith @meisterT is this ready for merge?

@keith
Copy link
Member Author

keith commented Oct 3, 2024

it is as far as i'm concerned!

@iancha1992 iancha1992 added 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 3, 2024
@copybara-service copybara-service bot closed this in 9aaeb9f Oct 4, 2024
@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 4, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Oct 4, 2024
Previously the execution logs were always written to relative paths.
This caused an issue if you put this flag in your `.bazelrc` and
expected the log to be produced in a relative directory. You can now use
`%workspace%` to handle writing to the root of your workspace.

Fixes bazelbuild#22267

Closes bazelbuild#23813.

PiperOrigin-RevId: 682196916
Change-Id: I5f6fe3c72cfc3fe9a891e0d44440cb49bbc787d8
github-merge-queue bot pushed a commit that referenced this pull request Oct 4, 2024
Previously the execution logs were always written to relative paths.
This caused an issue if you put this flag in your `.bazelrc` and
expected the log to be produced in a relative directory. You can now use
`%workspace%` to handle writing to the root of your workspace.

Fixes #22267

Closes #23813.

PiperOrigin-RevId: 682196916
Change-Id: I5f6fe3c72cfc3fe9a891e0d44440cb49bbc787d8

Commit
9aaeb9f

Co-authored-by: Keith Smiley <keithbsmiley@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-CLI Console UI team-Configurability platforms, toolchains, cquery, select(), config transitions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow dynamic log path location in .bazelrc
4 participants