Commit graph

16 commits

Author SHA1 Message Date
Zhaofeng Li 5b42839f58 Expose deduplication ratio to client 2023-01-17 14:10:27 -07:00
Zhaofeng Li 740c09beb9 client/push: Change the default number of jobs to 5 2023-01-14 23:55:10 -07:00
Zhaofeng Li db1dbb7a48 client/api: Refactor 2023-01-14 23:55:10 -07:00
Zhaofeng Li 332ac5051c client/get_closure: Add --include-outputs 2023-01-14 23:55:10 -07:00
Zhaofeng Li 0b528b5417 client/use: The access token should set for the substiter endpoint
The substituter endpoint is not necessarily the same as the API
endpoint.
2023-01-08 23:00:53 -07:00
Zhaofeng Li d547c86f08 client/push: Correctly delegate API requests based on cache config 2023-01-08 00:57:22 -07:00
Zhaofeng Li 6969af2d5e Cargo.toml: Minimize tokio feature flags 2023-01-08 00:57:22 -07:00
Zhaofeng Li c89f5f0f3f client: Deletions may not "immediately" happen
Aggressive caching may make the effect non-immediate.
2023-01-08 00:57:22 -07:00
Zhaofeng Li 7b53ce15cd api/v1/upload-path: Inform the client whether the uploaded path is deduplicated 2023-01-04 21:05:07 -07:00
Zhaofeng Li 69366cbe97 Run rustfmt 2023-01-04 21:05:07 -07:00
Zhaofeng Li d6c4d883f8 client/login: Add --set-default 2023-01-02 23:29:09 -07:00
Zhaofeng Li 425a757ad9 client/login: Don't overwrite existing token 2023-01-02 23:29:09 -07:00
Zhaofeng Li 70ed477208 client/nix_netrc: Set permission to 0600 on creation and write 2023-01-02 23:29:09 -07:00
Zhaofeng Li 384e7aa92d client/config: Set permission to 0600 on creation and write 2023-01-02 23:29:09 -07:00
Zhaofeng Li 48f2d4e275 client/push: Allow setting the number of parallel uploads 2023-01-02 23:29:09 -07:00
Zhaofeng Li 5aa1623dc2 Initial public commit 2022-12-31 17:01:07 -07:00