Commit Graph

1235 Commits

Author SHA1 Message Date
Gaius b7dc472df9
refactor(quic): integrate QUIC and downloader (#1378)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-25 19:57:04 +08:00
Chlins Zhang 677049c769
refactor(request-sdk): move seed-peer filtering to server side (#1377)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-09-25 19:56:54 +08:00
LXDgit2018 74a6f04b8c
feat: Add QUIC Client and Server Implementation for Piece Download in dragonfly-client-storage (#1376)
Signed-off-by: LXDgit2018 <1289504283@qq.com>
2025-09-25 11:31:20 +08:00
Gaius e8bdc766f4
chore(deps): update dragonfly-client dependencies to 1.0.24
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-24 21:53:10 +08:00
Gaius 7cf2e3d800
feat(export): add overwrite option for output files (#1374)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-24 21:33:42 +08:00
Gaius b9817dc279
fix(dfget): get wrong entries and add tests for entry retrieval functions (#1373)
* feat(grpc): add new DfdaemonDownloadClient creation method

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

* test(dfget): add tests for entry retrieval functions

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-24 12:05:38 +08:00
dependabot[bot] 590f9edf64
chore(deps): Bump kentaro-m/auto-assign-action from 1a583dfb5dd75d0df34ecc781081e5a6a73d2dce to 0cb1582962699c32cfa6083ee508ba02035ff32d (#1364)
chore(deps): Bump kentaro-m/auto-assign-action

Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action) from 1a583dfb5dd75d0df34ecc781081e5a6a73d2dce to 0cb1582962699c32cfa6083ee508ba02035ff32d.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases)
- [Commits](1a583dfb5d...0cb1582962)

---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
  dependency-version: 0cb1582962699c32cfa6083ee508ba02035ff32d
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 18:21:27 +08:00
dependabot[bot] 5a196bb65b
chore(deps): Bump hyper-util from 0.1.16 to 0.1.17 (#1365)
Bumps [hyper-util](https://github.com/hyperium/hyper-util) from 0.1.16 to 0.1.17.
- [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.16...v0.1.17)

---
updated-dependencies:
- dependency-name: hyper-util
  dependency-version: 0.1.17
  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>
2025-09-23 18:21:09 +08:00
dependabot[bot] e680c05277
chore(deps): Bump serde from 1.0.219 to 1.0.226 (#1368)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.219 to 1.0.226.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.219...v1.0.226)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.226
  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>
2025-09-23 18:20:59 +08:00
dependabot[bot] 4c46c24f7b
chore(deps): Bump clap from 4.5.47 to 4.5.48 (#1367)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.47 to 4.5.48.
- [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.47...clap_complete-v4.5.48)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.48
  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>
2025-09-23 18:20:51 +08:00
Gaius 02eddfbd10
refactor(dragonfly-client-util): request and pool logic (#1370)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-23 18:18:16 +08:00
Chlins Zhang 826aeabf08
feat: add the request sdk in dragonfly-client-util (#1333)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-09-23 10:58:41 +08:00
Gaius 6a93a2d8d7
fix(grpc): correct download server IP retrieval (#1369)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-22 14:06:03 +00:00
Gaius eae4da8af8
fix(ci): correct path for dragonfly-client-metric src
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-22 20:55:52 +08:00
Gaius c4fb049aac
feat(metric): add dragonfly-client-metric module (#1362)
* feat(metric): add dragonfly-client-metric module

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

* chore(deps): update dragonfly-client versions to 1.0.22

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-22 10:23:09 +00:00
Gaius 160f51396f
refactor: tcp storage server and client (#1361)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-22 17:44:20 +08:00
Fan Tianlan 9ec926f824
feat: Add TCP Client and Server Implementation for Piece Download in dragonfly-client-storage (#1359)
Signed-off-by: ftljk <2510317228@qq.com>
2025-09-18 15:18:03 +08:00
Gaius bc558925a5
docs: update community section in README (#1360)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-17 16:20:48 +08:00
Gaius 09dfeec7d7
feat: rename plugin_key to plugin_id in dfinit (#1358)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-16 14:07:42 +00:00
newbmiao 7c368d5e55
feat: support config_path of io.containerd.cri.v1.images for containerd v2 (#1357)
Signed-off-by: newbmiao <newbvirgil@gmail.com>
2025-09-16 21:51:17 +08:00
Gaius a2659dbc69
feat: remove loging to file in dfget dfcache and dfinit (#1355)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-16 18:26:17 +08:00
dependabot[bot] 63a606fef5
chore(deps): Bump github/codeql-action from 3.30.1 to 3.30.3 (#1349)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.1 to 3.30.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f1f6e5f6af...192325c861)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.3
  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>
2025-09-16 14:44:47 +08:00
dependabot[bot] d3dda551b7
chore(deps): Bump rustix from 1.0.8 to 1.1.2 (#1351)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 1.0.8 to 1.1.2.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v1.0.8...v1.1.2)

---
updated-dependencies:
- dependency-name: rustix
  dependency-version: 1.1.2
  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>
2025-09-16 14:43:43 +08:00
dependabot[bot] 6555cdf85e
chore(deps): Bump humantime from 2.1.0 to 2.3.0 (#1352)
Bumps [humantime](https://github.com/chronotope/humantime) from 2.1.0 to 2.3.0.
- [Release notes](https://github.com/chronotope/humantime/releases)
- [Commits](https://github.com/chronotope/humantime/compare/v2.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: humantime
  dependency-version: 2.3.0
  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>
2025-09-16 14:43:17 +08:00
dependabot[bot] 7dc8c58267
chore(deps): Bump hostname from 0.4.0 to 0.4.1 (#1353)
Bumps [hostname](https://github.com/svartalf/hostname) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/svartalf/hostname/releases)
- [Changelog](https://github.com/djc/hostname/blob/main/CHANGELOG.md)
- [Commits](https://github.com/svartalf/hostname/commits)

---
updated-dependencies:
- dependency-name: hostname
  dependency-version: 0.4.1
  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>
2025-09-16 14:42:51 +08:00
Gaius fdd3fa7f08
chore(deps): bump api to v2.1.65 (#1347)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-12 15:52:34 +08:00
Gaius aaa1018aa5
feat(download): add concurrent piece count configuration (#1345)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-11 18:36:00 +08:00
Chlins Zhang 8ff694f431
refactor: move the shutdown crate to the util package (#1344)
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-09-11 14:15:42 +08:00
Gaius 33375f0f5a
refactor(dfget): simplify argument parsing logic (#1342)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-09 12:50:49 +00:00
Gaius 79fa36ca97
refactor(downloader): streamline download concurrency handling (#1341)
* style(error): update error message formatting

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

* refactor(downloader): streamline download concurrency handling

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-09 15:57:00 +08:00
Gaius af354b7e59
fix(fs): handle unsupported fallocate errors gracefully (#1340)
* fix(fs): handle unsupported fallocate errors gracefully

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

* chore(dependencies): update dragonfly-client versions to 1.0.17

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-09 15:02:16 +08:00
dependabot[bot] e961c666b7
chore(deps): Bump aquasecurity/trivy-action from 0.33.0 to 0.33.1 (#1334)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](f9424c10c3...b6643a29fe)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.33.1
  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>
2025-09-09 10:47:16 +08:00
dependabot[bot] f03c458362
chore(deps): Bump github/codeql-action from 3.30.0 to 3.30.1 (#1335)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.0 to 3.30.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2d92b76c45...f1f6e5f6af)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.1
  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>
2025-09-09 10:46:52 +08:00
dependabot[bot] aedf133ff6
chore(deps): Bump chrono from 0.4.41 to 0.4.42 (#1336)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.41 to 0.4.42.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.41...v0.4.42)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.42
  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>
2025-09-09 10:46:26 +08:00
dependabot[bot] e143c7a9a2
chore(deps): Bump actions/stale from 9.1.0 to 10.0.0 (#1337)
Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](5bef64f19d...3a9db7e6a4)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.0.0
  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>
2025-09-09 10:46:00 +08:00
dependabot[bot] f7fc3bd034
chore(deps): Bump clap from 4.5.46 to 4.5.47 (#1338)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.46 to 4.5.47.
- [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.46...clap_complete-v4.5.47)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.47
  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>
2025-09-09 10:45:36 +08:00
Gaius c79cef20e8
feat: support include files for dfget (#1331)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-04 20:17:17 +08:00
Gaius 2738d590d5
chore(dependencies): update project dependencies and version (#1332)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-04 09:02:42 +00:00
Gaius 344bf3ed4f
refactor(cache): remove WriteCachePieceResponse struct (#1329)
* refactor(cache): remove WriteCachePieceResponse struct

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

* style(lib): remove unused import from lib.rs

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-02 20:18:07 +08:00
Gaius 826dad6d93
feat(object_storage): add security token to OSS initialization (#1328)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-02 10:02:57 +00:00
this is my name 622ef4ec56
feat: Add support for CacheTask in the storage layer. (#1278)
This pull request modifies the Cache's size field type, adds storage layer support for CacheTask, and implements related processing for CacheTask metadata.

- Reconstruct the Cache structure, changing the size field to Arc<AtomicU64> to achieve internal mutability and state sharing.
- Created a new CacheTask metadata structure and implemented its associated processing functions.
- Added CacheTask support in the storage layer, implementing all necessary functions for its download functionality.

To provide storage layer support for CacheTask, laying the foundation for future CacheTask integration into the client.

Signed-off-by: fu220 <2863318196@qq.com>
2025-09-02 11:38:58 +08:00
dependabot[bot] 2bb0d2e618
chore(deps): Bump github/codeql-action from 3.29.11 to 3.30.0 (#1326)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3c3833e0f8...2d92b76c45)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.0
  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>
2025-09-02 11:36:32 +08:00
dependabot[bot] bf3608bec0
chore(deps): Bump clap from 4.5.45 to 4.5.46 (#1324)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.45 to 4.5.46.
- [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.45...clap_complete-v4.5.46)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.46
  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>
2025-09-02 11:36:18 +08:00
Gaius 2070c8156e
chore(dependencies): update dependencies and remove unused metakeys (#1322)
* chore(dependencies): update dependencies and remove unused metakeys

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

* build(deps): update dependencies and remove unused features

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-09-02 10:27:20 +08:00
dependabot[bot] d71b8d35ad
chore(deps): Bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 (#1327)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](dc5a429b52...f9424c10c3)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.33.0
  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>
2025-09-02 02:08:39 +00:00
dependabot[bot] 96c1f68269
chore(deps): Bump tracing-subscriber from 0.3.19 to 0.3.20 (#1319)
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.19 to 0.3.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.19...tracing-subscriber-0.3.20)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-version: 0.3.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-01 10:53:06 +08:00
dependabot[bot] 27fd849e6e
chore(deps): Bump regex from 1.11.1 to 1.11.2 (#1312)
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.1 to 1.11.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.1...1.11.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.11.2
  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>
2025-08-29 11:23:57 +08:00
dependabot[bot] b32596da70
chore(deps): Bump serde_json from 1.0.142 to 1.0.143 (#1314)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.142 to 1.0.143.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.142...v1.0.143)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-version: 1.0.143
  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>
2025-08-29 11:21:12 +08:00
Cyrus 4a07964fcd
build(deps): update dragonfly-client dependencies to 1.0.15 (#1318)
update dragonfly-client to 1.0.15

Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-08-28 21:39:43 +08:00
Cyrus e252c8d503
fix: set persistent_cache_task_id to 64 bytes (#1316)
set persistent_cache_task_id to 64 byte

Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-08-28 20:31:45 +08:00