Commit graph

33 commits

Author SHA1 Message Date
Manuel 552120a68a
fix: writing config does not truncate (#55)
Co-authored-by: Manu [tennox] <tennox+git@txlab.io>
2023-06-12 18:35:28 -06:00
Zhaofeng Li a71582a952 client/watch_store: Ignore sources when watching
They will still be pushed as part of other paths' closures.
2023-05-28 15:23:45 -06:00
Zhaofeng Li 2d0aeefd2f Trivial semver-incompatible upgrades 2023-05-28 15:23:45 -06:00
Zhaofeng Li 6489d775ae Update deps 2023-05-28 15:23:45 -06:00
Zhaofeng Li 6a064f904e client/watch_store: Refactor main loop 2023-04-12 15:39:27 -06:00
Shawn8901 d48e920f12 add sleep to keep alive loop of watch-store 2023-04-04 21:32:04 +02:00
Zhaofeng Li ba8bd5d66c Thanks clippy 2023-03-21 18:45:34 -06:00
Zhaofeng Li 63019bb208 client: rustfmt 2023-03-05 11:05:11 -07:00
Zhaofeng Li f0e9199817 client/watch_store: Hide --no-closure in help
It's there for testing.
2023-03-05 11:05:11 -07:00
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