Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Conversation

@rsdy
Copy link
Contributor

@rsdy rsdy commented Apr 27, 2023

No description provided.

@rsdy rsdy added enhancement New feature or request backend labels Apr 27, 2023
@rsdy rsdy requested review from ggordonhall and oppiliappan April 27, 2023 16:48
Copy link
Contributor

@ggordonhall ggordonhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Much cleaner, and lots of nice new error types.

I have tested this on desktop, but not with GitHub App credentials.

@ggordonhall
Copy link
Contributor

/build

@github-actions
Copy link

github-actions bot commented May 2, 2023

🟢 Bloop container with build-abb62cff8694b715d43084dfb7cc89fd17560cdf tag is ready!
🔗 https://github.com/BloopAI/bloop/actions/runs/4860450849

@rsdy rsdy merged commit 8cf9b0d into main May 2, 2023
@rsdy rsdy deleted the rsdy/blo-171-use-gitoxide-instead-of-git2 branch May 2, 2023 14:02
calyptobai added a commit that referenced this pull request Jun 30, 2023
* Pin Rust toolchain and vendor OpenSSL

Based on our `flake.nix` file, it seems we have the following runtime dependencies: `openssl.out rocksdb git zlib nsync onnxruntime14`. Judging from our own `Cargo.lock`, and examining qdrant's `Cargo.lock`, we know that:

- [`rocksdb` is built statically and not needed at runtime](https://github.com/rust-rocksdb/rust-rocksdb/blob/master/librocksdb-sys/Cargo.toml#L16)  (unless provided by environment variables, which we don't do in default builds)
- [`zlib` is not used as default features are deactivated](https://github.com/qdrant/qdrant/blob/master/lib/segment/Cargo.toml#L28)
- [We removed `libgit2` in favor of `gitoxide`](#432)
- [We pin `onnxruntime` versions to specific binaries provided by `ort`](#231)

We also add a Rust toolchain configuration to pin the toolchain at `1.70.0`, and ensure that `openssl-sys` is built statically using the `vendored` feature.

This removes all remaining non-platform-specific runtime dependencies except `nsync`, which does not seem to be linked into either `bloop` builds or `qdrant`'s builds.

* Upgrade deps, use rustls

---------

Co-authored-by: rsdy <p@symmetree.dev>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants