-
Notifications
You must be signed in to change notification settings - Fork 417
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
unused_deps not detecting unused dependencies at all #441
Comments
I can repeat your experience using bazel 0.19.2 Could it be unused_deps not working for java_library that are actually exports of something else? Will test a simpler example and see. |
Can confirm it doesn't work for |
haikalpribadi
pushed a commit
to typedb/typedb-dependencies
that referenced
this issue
Oct 4, 2019
We don't seem to use those build tools anywhere, so let's not keep them. `unused_deps` does not seem to work properly anyway (see bazelbuild/buildtools#441 for details)
@vladmos @laurentlb -- if we want to continue to provide unused_deps, probably have to fix it for whatever the latest .jdeps file changes are |
aljoscha
added a commit
to aljoscha/buildtools
that referenced
this issue
Oct 5, 2019
Before, we would only support BUILD files. Now, we check if the BUILD file exists, if not we add the .bazel extension and return that. This fixes bazelbuild#204 This fixes bazelbuild#441
vladmos
pushed a commit
that referenced
this issue
Oct 9, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone,
I'm so sorry for posting this again, right after @pmbethe09 closes issue #396. But I've upgraded
unused_deps
to the latest release,0.19.2
today, andunused_deps
is still not detecting any unused dependencies.You can find our code at
haikalpribadi/grakn
branchunused-deps-not-working
, which you can clone and run:You will find that
unused_deps
returns:No unused deps found.
Meanwhile, we know for a fact that the following dependencies of
//client-java:client-java
are no longer needed (and we have confirmed by removing them afterwards).Can someone help us look into this?
The text was updated successfully, but these errors were encountered: