-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Access workspace status in a Starlark action #1054
Comments
@damienmg ptal |
Yes there is no nice way to do it, except use a stamped genrule that expose that file to the skylark rule. |
It's possible to add a dependency to the This issue also relates tangentially to #849. |
+1! I would love to be able to do this as well. |
Is this even possible with workspace status modeled as an action? What would a solution look like? |
Building off what @schroederc wrote, I'd really love to only stamp when --stamp=true is specified. Which means that I need access to the --stamp flag in skylark. |
Is it possible to access such info(workspace status) from macro? |
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so. |
https://groups.google.com/forum/#!topic/bazel-discuss/hqyMFjEpJgM
There's apparently no way to access volatile-status.txt in a Skylark action.
The text was updated successfully, but these errors were encountered: