-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Handle external dependencies #416
Comments
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 14, 2024
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 14, 2024
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 15, 2024
Rules under repo local_repository() are external repo but symlinked to a local path, usually in the same workspace. No matter if the local path is in the same workspace, the users should usually want to check the local path specified in local_repository rules instead of the path in bazel output (<bazel workspace>/bazel-<repo>/external/...) in file explorer. Works towards bazel-contrib#416.
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 15, 2024
Rules under repo local_repository() are external repo but symlinked to a local path, usually in the same workspace. No matter if the local path is in the same workspace, the users should usually want to check the local path specified in local_repository rules instead of the path in bazel output (<bazel workspace>/bazel-<repo>/external/...) in file explorer. Works towards bazel-contrib#416.
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 15, 2024
Rules under repo local_repository() are external repo but symlinked to a local path, usually in the same workspace. No matter if the local path is in the same workspace, the users should usually want to check the local path specified in local_repository rules instead of the path in bazel output (<bazel workspace>/bazel-<repo>/external/...) in file explorer. Works towards bazel-contrib#416. Imporved bazel-contrib#362.
cwahbong
added a commit
to cwahbong/vscode-bazel
that referenced
this issue
Oct 15, 2024
Rules under repo local_repository() are external repo but symlinked to a local path, usually in the same workspace. No matter if the local path is in the same workspace, the users should usually want to check the local path specified in local_repository rules instead of the path in bazel output (<bazel workspace>/bazel-<repo>/external/...) in file explorer. Works towards bazel-contrib#416. Imporves bazel-contrib#362.
vogelsgesang
pushed a commit
that referenced
this issue
Oct 16, 2024
Rules under repo local_repository() are external repo but symlinked to a local path, usually in the same workspace. No matter if the local path is in the same workspace, the users should usually want to check the local path specified in local_repository rules instead of the path in bazel output (`<bazel workspace>/bazel-<repo>/external/...`) in the file explorer. Works towards #416. Improves #362.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems the current plugin implementation does not handle the external dependencies well: when specify "Query Expression" in configuration like:
@repo//...
, the tree explorer, coverage, and the quick pick is not showing the dependencies from external dependencies. This makes some workspaces that's organized in assemblinglocal_repository
rules not working.I already have several local workaround fixes for this, but it would be better to also append the test cases for better coverage and prevent regressions for existing users..
SF:external/<repo>/....
entries.//...:*
or//...
) to query expressions. Not sure if we have to use separate query for packages and targets.@repo//path:BUILD
, which is a opposite direction to those mapping in tree explorer and coverage.@<repo>//
.The text was updated successfully, but these errors were encountered: