about summary refs log tree commit diff
path: root/tvix/store/src/bin/tvix-store.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-31T12·28+0200
committerclbot <clbot@tvl.fyi>2023-12-31T21·55+0000
commite2b6c77bfc4d00ba275d8029fe333d6064c268e9 (patch)
tree839d5b030fb04105e784e834b26cf13360a5dfd9 /tvix/store/src/bin/tvix-store.rs
parent06db871bd75a714a61434dd4b13bc87e1319ba92 (diff)
feat(tvix/cli): allow configuring different services r/7292
At some point, tvix-cli needs to talk to the outside world to persist
things into a real store.

Introduce the same CLI options to configure
{Blob,Directory,PathInfo}Service URLs.

We need to be a bit careful with how we set up stores, and make
this separate from setting up TvixStoreIO, as it's holding a
Rc<RefCell<KnonPath>> which not Send.

At some point, we might make this a Arc<RwLock<_>> later anyways, and
then this can be simplified a bit, but for now, this is sufficient.

Change-Id: I87d84ca3a10ce947e194ff985073791469773f35
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10474
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/bin/tvix-store.rs')
0 files changed, 0 insertions, 0 deletions