Commit Graph

1235 Commits

Author SHA1 Message Date
Gaius 9d1ad9c76c
feat: add PersistentCacheTask and StandardTask for scheduler
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-29 12:06:38 +08:00
PoloDyBala a0bc93c69a
feat(scheduler): add automatic scheduler switching feature (#591)
Signed-off-by: yuancr <2637554776@qq.com>
2024-09-29 12:01:16 +08:00
Gaius f536bab788
feat: rename cache task to persistent cache task (#753)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-27 17:32:43 +08:00
Gaius 0397170a99
feat: optimize the profile release for binary (#752)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-27 12:09:52 +08:00
Gaius ed5d059379
chore: update crate verison to v0.1.109 (#751)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-26 22:58:49 +08:00
Gaius 98474504b0
chore: update dragonfly-api version to v2.0.159 (#750)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-25 22:35:30 +08:00
Gaius 4900b42075
test: refactor tests in dfget (#749)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-24 14:37:24 +08:00
Lzzzt c7a7c66ac9
test: add unit test for dfget (#748)
Signed-off-by: lzzzt <liuzitao0123@gmail.com>
2024-09-24 11:03:03 +08:00
dependabot[bot] d06c2f1c5d
chore(deps): Bump local-ip-address from 0.6.1 to 0.6.3 (#747)
Bumps [local-ip-address](https://github.com/EstebanBorai/local-ip-address) from 0.6.1 to 0.6.3.
- [Release notes](https://github.com/EstebanBorai/local-ip-address/releases)
- [Changelog](https://github.com/EstebanBorai/local-ip-address/blob/main/CHANGELOG.md)
- [Commits](https://github.com/EstebanBorai/local-ip-address/commits)

---
updated-dependencies:
- dependency-name: local-ip-address
  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-09-24 11:01:54 +08:00
dependabot[bot] 59c2426971
chore(deps): Bump clap from 4.5.17 to 4.5.18 (#746)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.17 to 4.5.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.17...clap_complete-v4.5.18)

---
updated-dependencies:
- dependency-name: clap
  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-09-24 11:01:27 +08:00
dependabot[bot] 458fa32c7a
chore(deps): Bump bytes from 1.7.1 to 1.7.2 (#745)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: bytes
  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-09-24 11:01:09 +08:00
dependabot[bot] b8b7680386
chore(deps): Bump serde_json from 1.0.127 to 1.0.128 (#744)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.127 to 1.0.128.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.127...1.0.128)

---
updated-dependencies:
- dependency-name: serde_json
  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-09-24 11:00:51 +08:00
dependabot[bot] 36cf8324b3
chore(deps): Bump dashmap from 6.0.1 to 6.1.0 (#743)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v6.0.1...v6.1.0)

---
updated-dependencies:
- dependency-name: dashmap
  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-09-24 11:00:26 +08:00
Gaius e2209a8e61
refactor: change comments to rust style (#742)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-20 20:15:51 +08:00
Gaius d9f15bdbfe
feat: add log for deleting task content (#741)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-20 15:06:32 +08:00
dependabot[bot] bd35df8d42
chore(deps): Bump blake3 from 1.5.3 to 1.5.4 (#740)
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases)
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.5.3...1.5.4)

---
updated-dependencies:
- dependency-name: blake3
  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-09-18 10:58:41 +08:00
dependabot[bot] 1624b26614
chore(deps): Bump clap from 4.5.16 to 4.5.17 (#739)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.16 to 4.5.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.16...clap_complete-v4.5.17)

---
updated-dependencies:
- dependency-name: clap
  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-09-18 10:58:21 +08:00
dependabot[bot] 014fb34872
chore(deps): Bump hyper-util from 0.1.7 to 0.1.8 (#738)
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/hyperium/hyper-util/releases)
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper-util/compare/v0.1.7...v0.1.8)

---
updated-dependencies:
- dependency-name: hyper-util
  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-09-18 10:57:59 +08:00
dependabot[bot] b5d576a173
chore(deps): Bump tokio-util from 0.7.11 to 0.7.12 (#736)
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.11 to 0.7.12.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.11...tokio-util-0.7.12)

---
updated-dependencies:
- dependency-name: tokio-util
  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-09-18 10:57:18 +08:00
Gaius e0914ff8e9
feat: announce disable shared for scheduler (#735)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 17:06:45 +08:00
Gaius 91747990d2
feat: ensure the parent directory of the destination exists (#734)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-10 19:55:46 +08:00
Zyyeric 9f2f16c71d
fix: Ensure the parent directory of the destination exists (#732)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-09-10 15:46:58 +08:00
Gaius d385ef28c7
feat: add X-Dragonfly-Use-P2P header for proxy to use P2P to distribute the content (#733)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-10 15:38:25 +08:00
Zyyeric 60d11a016c
Fix: Comment for Storage in piece.rs is wrong (#724)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-09-10 13:41:02 +08:00
dependabot[bot] 73153be327
chore(deps): Bump leaky-bucket from 1.0.1 to 1.1.2 (#725)
Bumps [leaky-bucket](https://github.com/udoprog/leaky-bucket) from 1.0.1 to 1.1.2.
- [Release notes](https://github.com/udoprog/leaky-bucket/releases)
- [Commits](https://github.com/udoprog/leaky-bucket/compare/1.0.1...1.1.2)

---
updated-dependencies:
- dependency-name: leaky-bucket
  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-09-10 13:40:31 +08:00
dependabot[bot] e7be2cb346
chore(deps): Bump serde from 1.0.209 to 1.0.210 (#726)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.209 to 1.0.210.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

---
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-09-10 13:40:12 +08:00
dependabot[bot] 25ad9c245a
chore(deps): Bump wiremock from 0.6.1 to 0.6.2 (#728)
Bumps [wiremock](https://github.com/LukeMathWalker/wiremock-rs) from 0.6.1 to 0.6.2.
- [Changelog](https://github.com/LukeMathWalker/wiremock-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/LukeMathWalker/wiremock-rs/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: wiremock
  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-09-10 13:39:55 +08:00
dependabot[bot] 1670b59a62
chore(deps): Bump tokio-stream from 0.1.15 to 0.1.16 (#729)
Bumps [tokio-stream](https://github.com/tokio-rs/tokio) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.15...tokio-stream-0.1.16)

---
updated-dependencies:
- dependency-name: tokio-stream
  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-09-10 13:39:36 +08:00
Gaius 9f39786455
feat: support ca and skip_verify for containerd registry and remove mirror mode for containerd old version (#731)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-10 12:32:54 +08:00
Gaius e752d447f1
feat: print log for tls failed (#730)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-10 09:41:04 +08:00
Gaius 1bc3a09eae
feat: add log for generate certs (#723)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-09 12:30:33 +08:00
Gaius ad1d783af6
test: set plugin ext to .dylib in macos (#722)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-06 15:46:57 +08:00
Gaius b73c15398b
feat: optimize make_need_fields_message macro (#721)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-06 15:02:47 +08:00
Lzzzt 40bcafca40
test: Add unit tests for object storage (#714)
Signed-off-by: lzzzt <liuzitao0123@gmail.com>
2024-09-06 13:50:58 +08:00
Gaius 232ee8ab46
feat: proxy reuses the dfdaemon_download_client (#719)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-05 21:33:52 +08:00
Gaius 589fa1a55b
chore: multipart upload release packages
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-05 15:53:47 +08:00
Gaius e44fbd5761
chore: change release actions
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-05 10:30:44 +08:00
Gaius 437d56fcf5
chore: add timeout-minutes for release actions (#718)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-05 00:30:25 +08:00
Gaius 5d233c3e46
chore: add timeout-minutes for release actions
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 21:32:43 +08:00
Gaius f4737970b5
feat: add interrupt for download from remote peers (#717)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 17:25:24 +08:00
Gaius b200aef6dd
chore: build archive client RPM
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 16:01:52 +08:00
Gaius 91675dc96e
chore: upload release packages
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 15:39:30 +08:00
Gaius bcf0e28c58
chore: update release.yaml for download-artifact
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 13:33:20 +08:00
Gaius c6fa2e2721
Update release.yml (#716) 2024-09-04 10:31:20 +08:00
Gaius 917f950cd7
feat: when send piece error drop out_stream_tx (#715)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 00:13:35 +08:00
Gaius 02481a71fc
chore: release files in actions
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-03 20:49:07 +08:00
Gaius ec5a404fdf
chore: release single template
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-03 16:21:07 +08:00
Gaius 128c7f13da
chore: update cargo version
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-03 11:06:03 +08:00
Zhaoxinxin 80802aa5cc
Feat change release (#713)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-09-03 11:04:47 +08:00
dependabot[bot] eba84d568b
chore(deps): Bump tonic-health from 0.12.1 to 0.12.2 (#709) 2024-09-02 21:25:03 +08:00