Commit Graph

1235 Commits

Author SHA1 Message Date
dependabot[bot] 36084807d3
chore(deps): Bump bytes from 1.6.1 to 1.7.1 (#651)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.1 to 1.7.1.
- [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.6.1...v1.7.1)

---
updated-dependencies:
- dependency-name: bytes
  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-08-06 00:11:43 +08:00
dependabot[bot] 1ab22825f8
chore(deps): Bump rustls-pemfile from 2.1.1 to 2.1.3 (#652)
Bumps [rustls-pemfile](https://github.com/rustls/pemfile) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/rustls/pemfile/releases)
- [Commits](https://github.com/rustls/pemfile/compare/v/2.1.1...v/2.1.3)

---
updated-dependencies:
- dependency-name: rustls-pemfile
  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-08-06 00:11:22 +08:00
dependabot[bot] c54da1ad50
chore(deps): Bump toml from 0.8.16 to 0.8.19 (#653)
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.16 to 0.8.19.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.19)

---
updated-dependencies:
- dependency-name: toml
  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-08-06 00:11:03 +08:00
dependabot[bot] 3ba190c65d
chore(deps): Bump uuid from 1.9.1 to 1.10.0 (#654)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0)

---
updated-dependencies:
- dependency-name: uuid
  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-08-06 00:10:27 +08:00
Gaius 87460eedc0
feat: update tonic version for grpc (#655)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 23:32:13 +08:00
Gaius 5647215c9e
feat: support crc32 for calculating piece content (#649)
* feat: support crc32 for calculating piece info

Signed-off-by: Gaius <gaius.qi@gmail.com>

* Trigger CI pipeline

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 18:54:01 +08:00
Zhaoxinxin b150ba3364
Feat: dfdaemon is started using systemd (#648)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-08-05 18:42:44 +08:00
Gaius 50fa71e4c9
feat: remove is_uploading condition in gc (#646)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 16:31:18 +08:00
Gaius 6e760e877e
chore: change free-disk-space params
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 11:58:00 +08:00
Gaius 0b5e3bf810
feat: if host is not exist, set host (#645)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 02:41:50 +08:00
Gaius 49ab198016
chore: add self-hosted larger runers (#643)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 02:41:27 +08:00
Gaius aee6a66c08
feat: add header for mirror mode (#644)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-02 17:48:35 +08:00
Gaius 0bc8ce9529
chore: rename config.yaml for ci (#641)
feat: rename config.yaml for ci

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-02 10:58:17 +08:00
Zhaoxinxin 82b1c30ed1
feat: Add rpm package and deb package build (#636)
* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

* feat: Add rpm package and deb package build

Signed-off-by: zhaoxinxin <1186037180@qq.com>

---------

Signed-off-by: zhaoxinxin <1186037180@qq.com>
2024-08-02 10:30:49 +08:00
Gaius 12a7d31a57
chore: add ci dir for actions (#640)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-01 13:53:47 +08:00
Gaius 55016c76bb
refactor: disk information in announcer module (#639)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-01 10:21:33 +08:00
Chongzhi Deng b81f129a7a
fix: add missing fields to the announce host request (#622)
fix: announce host with process_used_percent and scheduler_cluster_id

Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-08-01 10:04:00 +08:00
Gaius ef7a6df21a
fix: download too long logs (#638)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-31 00:35:54 +08:00
Gaius 20bac0f4ab
chore: update crates version to v0.1.91
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-30 17:20:03 +08:00
Gaius 85c73e3a00
feat: add warn logs when handle level1 task task slowly (#637)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-30 17:16:00 +08:00
dependabot[bot] 434a395493
chore(deps): Bump libloading from 0.8.4 to 0.8.5 (#634)
Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.8.4 to 0.8.5.
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.4...0.8.5)

---
updated-dependencies:
- dependency-name: libloading
  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-07-30 13:37:59 +08:00
dependabot[bot] 0120ec492f
chore(deps): Bump clap from 4.5.9 to 4.5.11 (#633)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.9 to 4.5.11.
- [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.9...clap_complete-v4.5.11)

---
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-07-30 13:37:32 +08:00
dependabot[bot] 38c0f14869
chore(deps): Bump thiserror from 1.0.61 to 1.0.63 (#632)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.63)

---
updated-dependencies:
- dependency-name: thiserror
  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-07-30 13:37:13 +08:00
dependabot[bot] 97fdde2961
chore(deps): Bump tokio from 1.38.1 to 1.39.2 (#631)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.1 to 1.39.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.2)

---
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-07-30 13:36:54 +08:00
dependabot[bot] 20d7917069
chore(deps): Bump serde_json from 1.0.120 to 1.0.121 (#630)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.120 to 1.0.121.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121)

---
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-07-30 13:36:34 +08:00
dependabot[bot] faa79ca8a8
chore(deps): Bump toml from 0.8.13 to 0.8.16 (#629)
Bumps [toml](https://github.com/toml-rs/toml) from 0.8.13 to 0.8.16.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.16)

---
updated-dependencies:
- dependency-name: toml
  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-07-29 19:39:55 +08:00
Lzzzt b32b685481
fix: fix url encode/decode bug (#628)
Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
2024-07-26 15:24:58 +08:00
Gaius 97791be389
feat: add request timeout for connection (#627)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-25 23:08:12 +08:00
Gaius bac3474efe
feat: if download back-to-source failed, abort all jobs (#626)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-25 15:53:50 +08:00
Gaius 6583cc9bd8
chore: update cargo version
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-25 04:40:59 +08:00
Gaius d97c017c09
feat: if HTTP get the BackendError of the response, return BackendError to proxy (#624)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-25 04:40:20 +08:00
Gaius 1640bac8eb
feat: rename task_result to task (#623)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-24 11:14:53 +08:00
Gaius a5f01bd8ef
feat: add validate_args for dfget and dfcache (#621)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-23 15:22:44 +08:00
Lzzzt 155d3ed503
feat: add check before starting the download task (#615)
Signed-off-by: lzzzt <liuzitao0123@gmail.com>
2024-07-23 13:56:13 +08:00
dependabot[bot] d0de8f9dbf
chore(deps): Bump tokio from 1.38.0 to 1.38.1 (#618)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1)

---
updated-dependencies:
- dependency-name: tokio
  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-07-23 10:40:52 +08:00
dependabot[bot] 669f431105
chore(deps): Bump hyper-util from 0.1.3 to 0.1.6 (#617)
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.3 to 0.1.6.
- [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.3...v0.1.6)

---
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-07-23 10:40:22 +08:00
dependabot[bot] 3d208bd074
chore(deps): Bump openssl from 0.10.64 to 0.10.66 (#616)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  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-07-23 10:38:37 +08:00
Gaius e676cfb2a6
refactor: download directory from object storage (#614)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-19 19:49:49 +08:00
Lzzzt 2247e0f241
feat: implement recursive download for dfget (#613)
Signed-off-by: lzzzt <liuzitao0123@gmail.com>
2024-07-19 14:16:46 +08:00
fossabot 0bb2cab975
Add license scan report and status (#611)
Signed off by: fossabot <badges@fossa.com>
2024-07-19 10:58:14 +08:00
Gaius c202b14fd2
feat: add garbage collection for cache task (#610)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-18 11:54:05 +08:00
Gaius f9c8f2875f
feat: implement export in dfcache (#609)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 23:17:09 +08:00
Gaius 6b9e18dd41
feat: parse output path to absolute path (#608)
feat: generate absolute path for output

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 23:00:08 +08:00
Gaius c5cb55a3a1
feat: remove lock file from dfdaemon (#607)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 20:34:31 +08:00
Gaius 2fa5757e27
feat: remove the logic of starting dfdaemon when dfget downloads file (#606)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 20:23:56 +08:00
Gaius 5f31dc60a5
feat: implement download feature in cache_task (#605)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 20:12:23 +08:00
Gaius c3dc4ff938
feat: rename create_persistent_cache_task to create_persistent in cache_task (#604)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 17:21:46 +08:00
Gaius 5fc8ba8122
feat: implement remove cache task in dfcache (#603)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 17:05:51 +08:00
Gaius 7671818064
feat: add bytesize for rate_limit (#602)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 16:12:22 +08:00
Gaius db2008f061
feat: implement stat command for cache task (#601)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 15:32:13 +08:00