Commit Graph

323 Commits

Author SHA1 Message Date
Gaius 7d88b1c21b
feat: add persistent field to DownloadCacheTaskRequest (#329)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-19 21:26:29 +08:00
Gaius 183280e924
fix: ttl validation format
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:45:53 +08:00
Gaius 240563b417
feat: add upload cache task for scheduler (#328)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:29:45 +08:00
Gaius e1e59d1696
feat: add announce proto of the cache task in scheduler (#327)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 22:06:34 +08:00
Gaius 89446c47da
chore: update crate version to v2.0.120
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 16:23:53 +08:00
Gaius 2cf1290751
feat: generate mock code in scheduler (#326)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 16:22:45 +08:00
Gaius 110fe0ebc7
feat: change leave to delete in scheduler messages (#325)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:30:39 +08:00
Gaius 7beb7a448f
feat: rename DownloadTask message to Download (#324)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:07:40 +08:00
Gaius 39fa1f1591
feat: add cache task proto (#323)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 14:54:30 +08:00
dependabot[bot] d339260b79
chore(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 (#322)
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 10:29:29 +08:00
Gaius 370d97c837
feat: add host id to SyncPiecesRequest and DownloadPieceRequest (#321)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 17:03:33 +08:00
dependabot[bot] 5fd604d7c2
chore(deps): bump tokio from 1.37.0 to 1.38.0 (#320)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 10:32:00 +08:00
Gaius 74581bea67
feat: add message of the backend error detail (#319)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 18:41:09 +08:00
dependabot[bot] 2388981f9c
chore(deps): bump serde from 1.0.202 to 1.0.203 (#318)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 10:31:24 +08:00
dependabot[bot] e2febd6cba
chore(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#316)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 10:58:59 +08:00
dependabot[bot] d83b1ad88c
chore(deps): bump serde from 1.0.201 to 1.0.202 (#315)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.201 to 1.0.202.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 10:58:36 +08:00
dependabot[bot] 12aea85b88
chore(deps): bump prost-types from 0.12.4 to 0.12.6 (#314)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.4 to 0.12.6.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.4...v0.12.6)

---
updated-dependencies:
- dependency-name: prost-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 10:58:22 +08:00
Gaius ab1743c359
feat: add leave task api (#313)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-16 21:32:38 +08:00
dependabot[bot] 019c98b381
chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1 (#311)
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 10:59:31 +08:00
dependabot[bot] 27c043d23c
chore(deps): bump serde from 1.0.199 to 1.0.201 (#312)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.199 to 1.0.201.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.201)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 10:59:06 +08:00
dependabot[bot] 45608bf7a5
chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#310)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 10:57:05 +08:00
Gaius b60a425140
feat: digest field supports blake3 (#309)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-10 13:58:51 +08:00
Gaius 76a2bd51c9
feat: change validation in memory (#308)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 12:35:58 +08:00
dependabot[bot] acd9e9fc6c
chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#304) 2024-04-30 06:28:34 +08:00
dependabot[bot] cf62dc350b
chore(deps): bump serde from 1.0.198 to 1.0.199 (#305) 2024-04-30 06:28:07 +08:00
dependabot[bot] b6e25653d4
chore(deps): bump serde from 1.0.197 to 1.0.198 (#303)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 10:50:05 +08:00
Gaius 9f7fd897b8
feat: change TriggerDownloadTask to DownloadTask with stream (#302)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-16 20:00:32 +08:00
dependabot[bot] 20049c9ad8
chore(deps): bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#301)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.63.0 to 1.63.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.63.0...v1.63.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 11:22:33 +08:00
Gaius 34f6f75f49
feat: add prefetch field in download message (#298)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 13:42:52 +08:00
Gaius 2df8c78be4
feat: optimize prefetch in download message (#297)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:25:56 +08:00
Gaius 100d4da28e
feat: add prefetch field for download message (#296)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:14:56 +08:00
dependabot[bot] e175998351
chore(deps): bump prost-types from 0.12.3 to 0.12.4 (#294)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.3...v0.12.4)

---
updated-dependencies:
- dependency-name: prost-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:53:47 +08:00
dependabot[bot] 2f118dc56c
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#295)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.1...v1.63.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:52:52 +08:00
dependabot[bot] 9009396b0f
chore(deps): bump tokio from 1.36.0 to 1.37.0 (#293)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:52:08 +08:00
Jim Ma 3c8ba8c983
feat: dfdaemon peer exchange (#229) 2024-03-27 14:18:05 +08:00
Gaius c7e8229102
feat: add need_back_to_source and disable_back_to_source (#292)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 18:30:24 +08:00
Gaius 283ccece49
feat: add need_back_to_source to peer message (#291)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 17:31:08 +08:00
Gaius d5c0dd6ac3
feat: remove validation in certificate_chain (#290)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 16:59:04 +08:00
Gaius ef16214823
feat: add disable-back-to-source to Download message (#289)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 19:31:52 +08:00
Gaius 4881829013
fix: typo in scheduler v1 proto (#288)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 11:14:37 +08:00
dependabot[bot] ea6cb9681a
chore(deps): bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#287)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 10:38:46 +08:00
dependabot[bot] 6db67e827e
chore(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#286)
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-12 10:37:31 +08:00
Gaius 9f1fc3912d
feat: add certificateChain to Download message (#285)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-29 11:51:47 +08:00
Gaius c3133a8608
feat: remove tls_verify in Download message (#284)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 20:10:32 +08:00
Gaius 6bb1bedc70
feat: add error details to api (#283)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 12:42:22 +08:00
Gaius 88ad05325e
fix: rename download_task_failed_request to download_task_failed_resp… (#282)
fix: rename download_task_failed_request to download_task_failed_response

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:34:22 +08:00
Gaius 479332263a
feat: remove status in HTTPResponse message (#281)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:25:23 +08:00
Gaius 9a73b42a15
feat: response http code and status (#280)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 14:21:37 +08:00
Gaius 4729f1f74d
feat: add certificate and tls_verify params in Download message (#279)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-26 14:56:59 +08:00
dependabot[bot] 98c8cb43fe
chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#278)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 10:55:04 +08:00