-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
Ignore recursive symlinks in external dependencies #424
Comments
I don't think this is possible with Bazel at the moment. I tried a more minimal example: just adding this repository as a dependency with
I'll close this issue because it is a general Bazel problem. There doesn't seem to be anything we can do in this repository to work around it. Please consider filing another issue in github.com/bazelbuild/bazel. This may be working as intended though. As a workaround, consider vendoring this repository and removing that test. You may also be interested in #304, a feature request for similar functionality. |
@jayconrod thanks. Another way is to externalize util and run in By the way, maybe I mean, that external dependency is not a subject for testing... We inspecting and selecting dependency by running tests somewhere but not in project where we gonna use it. Also recursive symlinks and other exceptional stuff are subject to be located in |
External dependencies frequently are subjects for testing. The tests won't be run unless you run them explicitly (Bazel doesn't provide a way to run all tests in all external dependencies at once, as far as I know), but the If you need some special handling for BUILD files in an external dependency, a hand-written BUILD file is probably your best bet. |
Hi! Are there any way to add external dep with recursive symlinks like https://github.com/jteeuwen/go-bindata?
So, if I have a WORKSPACE like:
BUILD file
Since a purpose of
go-bindata
is to collect files, it is expected that author has tests for recursive links, but this recursive links kills abazel
with error like:So for now, a only way (which I know) to make it works, is to go to tmp dir and remove recursive links by hand, but I have a filling that it should be controlled somewhere in
go_repository
? or maybe it is an issue for other repo....The text was updated successfully, but these errors were encountered: