-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
yq: Fix path resolution for external targets #547
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ryan Northey <[email protected]>
bin_dir = "/".join([ctx.bin_dir.path, ctx.label.package]) if ctx.label.package else ctx.bin_dir.path | ||
bin_dir = ctx.bin_dir.path | ||
if ctx.label.workspace_name: | ||
bin_dir = "%s/external/%s" % (bin_dir, ctx.label.workspace_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work with --nolegacy_external_runfiles
.
It might be a good idea to file an issue for this first, in case others want to contribute a fix for it. |
i proposed a fix as this is blocking us from being able to do some external builds - so was hoping for a quick turnaround and needed something in the interim that works |
upstream issue is bazel-contrib/bazel-lib#548 pr is: bazel-contrib/bazel-lib#547 Currently the websites and archive patch this indepenendently This caused a breakage (in all 3) when aspect lib was updated envoyproxy/envoy-website#368 This should prevent that until there is some upstream resolution Signed-off-by: Ryan Northey <[email protected]>
bazel/patch: Patch aspect lib to resolve external build issue upstream issue is bazel-contrib/bazel-lib#548 pr is: bazel-contrib/bazel-lib#547 Currently the websites and archive patch this indepenendently This caused a breakage (in all 3) when aspect lib was updated envoyproxy/envoy-website#368 This should prevent that until there is some upstream resolution Signed-off-by: Ryan Northey <[email protected]>
Currently the
yq
target is unusable if called from an external build, this should resolve thatType of change
For changes visible to end-users
Test plan