Commit Graph

24 Commits

Author SHA1 Message Date
Zhaofeng Li
c3c7c10c05 Upgrade toml 2023-03-05 11:05:11 -07:00
Zhaofeng Li
18ca2cf29a Update deps 2023-03-05 11:05:11 -07:00
Zhaofeng Li
5a23cda073 client: Document CacheRef syntax in help
Ref: #25
2023-02-16 14:01:27 -07:00
Zhaofeng Li
d540cc6888 client: Implement watch-store 2023-01-29 12:01:54 -07:00
Zhaofeng Li
8f1916b5cc client: Refactor pushing to use a job queue 2023-01-29 12:01:54 -07:00
Zhaofeng Li
3c8bebf6b5 upload-path: Support including the upload info as part of the PUT body
Often times there are tight limits on how large headers can be.
2023-01-29 12:01:54 -07:00
Zhaofeng Li
33d8dfabbd Use common constant for X-Attic-Nar-Info header 2023-01-29 12:01:54 -07:00
chris-02
8fa4eaffc5
client: Use system certificate store 2023-01-22 11:25:10 +01:00
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