Skip to content

Switch to python for workplace_status script - #153

Merged
achew22 merged 2 commits into
bazelbuild:masterfrom
achew22:python_workspace_status
Nov 4, 2018
Merged

achew22 merged 2 commits into
bazelbuild:masterfrom
achew22:python_workspace_status

Conversation

@achew22

@achew22 achew22 commented Nov 3, 2018

Copy link
Copy Markdown
Member

No description provided.

@achew22
achew22 merged commit d32d848 into bazelbuild:master Nov 4, 2018
@achew22
achew22 deleted the python_workspace_status branch November 4, 2018 00:13
@achew22 achew22 mentioned this pull request Nov 4, 2018
Comment thread .bazelrc
@@ -1,4 +1,4 @@
build --workspace_status_command=tools/workplace_status.sh
build --workspace_status_command=tools/workplace_status.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's better to use build --workspace_status_command="python tools/workplace_status.py" because .py is not an executable extension on Windows by default.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Could I have you add a section to the Bazel docs on windows compatibility for this? This seems like a thing that is worth documenting. Do you know if those are open sourced yet?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hmm, I'm also having the same concern as you do, that doing this will add python as a dependency for the project, but I couldn't think of a better solution yet. I prefer to discuss with my teammate (who's on vacation) first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants