the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

potentially missing some third party libraries listed in bazel BUILD files

Open yassinm opened this issue 1 year ago • 0 comments

Hi There

This is more like a clarification question about how the project is structured with bazel and current dependencies that are potentially missing

I am trying to build the repo by converting the bazel files using gradle and the scala plugin. I noticed that bazel has exports and dependencies listed in each BUILD file.

Would you kindly help me figure if all the below listed decencies are in the repo already or are meant to come some time later ? I am only trying to build the code as it is if at all possible.

Also i am not familiar with bazel so i would appriciate if youcan shed some light into what this means in bazel: mediaservices/commons/src/main/scala:futuretracker

is the first part before the colon the location of the library or the group ? I am assuming that the second part is the artifact name but i wanted to confirm this was a correct assumption.

All help would be much appreciated !

I tried to list all the imported/exporteddependencies lin each file here : deps.txt

etract from the above
file:ann/src/main/scala/com/twitter/ann/common/BUILD
  exports:
    3rdparty/jvm/com/twitter/bijection:core
  dependencies:
    3rdparty/jvm/com/google/guava
    3rdparty/jvm/com/twitter/bijection:core
    3rdparty/jvm/com/twitter/storehaus:core
    3rdparty/jvm/org/apache/beam:beam-sdks-java-io-google-cloud-platform
    ann/src/main/thrift/com/twitter/ann/common:ann-common-scala
    finatra/inject/inject-mdc/src/main/scala
    mediaservices/commons/src/main/scala:futuretracker
    src/java/com/twitter/search/common/file
    src/scala/com/twitter/ml/api/embedding
    stitch/stitch-core
file:ann/src/main/scala/com/twitter/ann/dataflow/offline/BUILD
  exports:

...  

yassinm avatar Apr 03 '23 16:04 yassinm