Commit graph

12 commits

Author SHA1 Message Date
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