-
Notifications
You must be signed in to change notification settings - Fork 136
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
Have deps_dirs
follow sym links
#1046
Comments
the-mikedavis
added a commit
to the-mikedavis/erlang_ls
that referenced
this issue
Oct 24, 2022
…_paths/2` erlang-ls#346 discarded any paths containing symlinks since they broke assumptions about there being a single URI for each module in calls to `els_utils:find_module/1`. erlang-ls#648 added prioritization for cases when there are multiple URIs in `els_utils:find_module/1`, so discarding paths with symlinks is now no longer necessary. Following symlinks is necessary when using rebar3 checkout dependencies (erlang-ls#1046) or when using Bazel (erlang-ls#1064) since Bazel places dependencies and compiled files under its cache directory and symlinks the relevant directory in the cache to the workspace directory. This change removes the behavior of `els_utils:resolve_paths/2` that discards paths containing symlinks.
robertoaloi
pushed a commit
that referenced
this issue
Nov 8, 2022
#346 discarded any paths containing symlinks since they broke assumptions about there being a single URI for each module in calls to `els_utils:find_module/1`. #648 added prioritization for cases when there are multiple URIs in `els_utils:find_module/1`, so discarding paths with symlinks is now no longer necessary. Following symlinks is necessary when using rebar3 checkout dependencies (#1046) or when using Bazel (#1064) since Bazel places dependencies and compiled files under its cache directory and symlinks the relevant directory in the cache to the workspace directory. This change removes the behavior of `els_utils:resolve_paths/2` that discards paths containing symlinks.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I have a rebar3 application that is currently being developed locally. Because none of my applications are currently on hex.pm, or anywhere else, I am using rebar3s
checkout dependencies
at the moment. Unfortunately if I use- "_checkouts/*"
in mydeps_dirs
configuration, the sym links do not appear to be follow as I am not getting any autocomplete for those applications.Describe the solution you'd like
I would like symlinks to be followed so that I can make use of those applications
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: