Gaius
cd6ca368d5
feat: rename tracing field from `uri` to `url` in proxy handler functions ( #1260 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-30 16:55:56 +08:00
Cyrus
1aefde8ed4
refactor: improve filter_entries test function ( #1259 )
...
* refactor filter_entries test
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix a variable name
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* merge all filter_entries test
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* add a assert
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
---------
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-07-29 11:18:49 +08:00
Gaius
b30993eef0
refactor(dfget): Improve logic and error handling in `filter_entries` ( #1258 )
...
- Updated function signature to use references (`&Url`, `&[String]`) for efficiency.
- Improved error handling with detailed `ValidationError` messages instead of generic `UnexpectedResponse`.
- Renamed `rel_path_to_entry` to `entries_by_relative_path` for better clarity.
- Replaced `Vec` with `HashSet` for filtered entries to avoid duplicates.
- Simplified parent directory path construction using `join("")`.
- Enhanced doc comments to clearly describe functionality and behavior.
- Streamlined pattern compilation and iteration using `iter()`.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-25 14:09:34 +00:00
Cyrus
cca88b3eea
feat: add include-files argrument in the downloaded directory ( #1247 )
...
* add include-files arg
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix regular expression matching
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix lint
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
---------
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-07-25 17:13:57 +08:00
Gaius
bf6f49e0e9
feat: add task ID response header in Dragonfly client proxy ( #1256 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-24 18:16:34 +08:00
Gaius
777c131fbe
feat: use piece_timeout for list task entries ( #1255 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-24 09:33:47 +00:00
Gaius
45f86226cf
feat: use piece_timeout for list task entries ( #1254 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-24 07:47:25 +00:00
Gaius
a340f0c2f1
chore: update crate version to 1.0.6 ( #1253 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-24 14:01:55 +08:00
Gaius
5c87849f67
feat: update gRPC server to use non-cloned reflection service and fix task piece filtering logic ( #1252 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-24 03:29:11 +00:00
Gaius
74ab386d87
feat: Enhance stat_task error handling in dfdaemon_download and dfdaemon_upload ( #1251 )
...
feat: Bump dragonfly-api to 2.1.49 and add local_only support for task stat
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-23 10:06:11 +00:00
Gaius
10c73119cb
feat: Bump dragonfly-api to 2.1.49 and add local_only support for task stat ( #1250 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-23 09:43:21 +00:00
Gaius
7190529693
feat(dragonfly-client): change permissions of download grpc uds ( #1249 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-23 02:58:01 +00:00
Gaius
e249089ec8
feat: support remote-ip for tracing ( #1248 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-22 08:55:49 +00:00
dependabot[bot]
5660c73d9a
chore(deps): Bump github/codeql-action from 3.29.2 to 3.29.3 ( #1244 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.2 to 3.29.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](181d5eefc2...d6bbdef45e )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.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-07-22 08:55:05 +00:00
dependabot[bot]
52307b64cc
chore(deps): Bump rustix from 1.0.5 to 1.0.8 ( #1243 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 1.0.5 to 1.0.8.
- [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.5...v1.0.8 )
---
updated-dependencies:
- dependency-name: rustix
dependency-version: 1.0.8
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-07-22 16:45:02 +08:00
dependabot[bot]
64e607db74
chore(deps): Bump serde_json from 1.0.140 to 1.0.141 ( #1245 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.140...v1.0.141 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.141
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-07-22 16:44:38 +08:00
Gaius
a926e627d3
feat(dragonfly-client): change interface optional in DfdaemonUploadServerHandler ( #1246 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-22 12:18:19 +08:00
dependabot[bot]
5cad620894
chore(deps): Bump kentaro-m/auto-assign-action from db77befe126df3163e8ee988af621569f7f2b82f to 586b61c136c65d09c1775da39cc4a80e026834f4 ( #1242 )
...
chore(deps): Bump kentaro-m/auto-assign-action
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action ) from db77befe126df3163e8ee988af621569f7f2b82f to 586b61c136c65d09c1775da39cc4a80e026834f4.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases )
- [Commits](db77befe12...586b61c136 )
---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
dependency-version: 586b61c136c65d09c1775da39cc4a80e026834f4
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-07-22 10:32:43 +08:00
Chlins Zhang
d054d8ac2f
fix: rename scheduler_cluster_id in the host config ( #1241 )
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-07-21 17:37:40 +08:00
Chlins Zhang
e53ed3411c
feat: support specify the schedulerClusterID in host config and carry… ( #1240 )
...
feat: support specify the schedulerClusterID in host config and carry it when listing schedulers
Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-07-21 13:31:49 +08:00
Gaius
aedbc2ceb0
fix: logging message in BackendFactory to reference correct backend_plugin_dir variable ( #1237 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-18 11:25:41 +08:00
Gaius
cafb074620
feat: update default plugin directory to /usr/local/lib/dragonfly/plugins/ on Linux ( #1236 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-17 05:58:20 +00:00
Gaius
0bf6f5d1a4
refactor: list_task_entries in DfdaemonDownloadServerHandler ( #1235 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-17 12:32:00 +08:00
Cyrus
7c9d691a04
feat: modify the execution logic of dfget to list directories ( #1225 )
...
* add list_task_entries grpc function
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* change version
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix code format
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix clippy error
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* move list_task_entries to grpc server
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* fix code format
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
* merge list_task_entries function
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
---------
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-07-17 11:31:55 +08:00
Gaius
4d6ad26d87
feat: move metadata update after content task creation in Storage::download_task_started ( #1234 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-16 17:52:09 +08:00
Gaius
18a15df503
feat: add panic log for tracing ( #1233 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-16 17:17:09 +08:00
dependabot[bot]
b4bcae43b0
chore(deps): Bump hyper-util from 0.1.14 to 0.1.15 ( #1229 )
...
Bumps [hyper-util](https://github.com/hyperium/hyper-util ) from 0.1.14 to 0.1.15.
- [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.14...v0.1.15 )
---
updated-dependencies:
- dependency-name: hyper-util
dependency-version: 0.1.15
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-07-16 11:21:32 +08:00
dependabot[bot]
0c8073eedd
chore(deps): Bump crc32fast from 1.4.2 to 1.5.0 ( #1230 )
...
Bumps [crc32fast](https://github.com/srijs/rust-crc32fast ) from 1.4.2 to 1.5.0.
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.4.2...v1.5.0 )
---
updated-dependencies:
- dependency-name: crc32fast
dependency-version: 1.5.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-07-16 11:17:26 +08:00
dependabot[bot]
5a81dbe90b
chore(deps): Bump clap from 4.5.40 to 4.5.41 ( #1231 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.40 to 4.5.41.
- [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.40...clap_complete-v4.5.41 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.41
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-07-15 22:06:15 +08:00
Cyrus
9c3c0930af
feat: Create a blacklist of backends that do not support directory downloads ( #1224 )
...
Create a blacklist of backends that do not support path downloads
Signed-off-by: LunaWhispers <yangmuyucs@gmail.com>
2025-07-08 15:09:20 +08:00
dependabot[bot]
731b5fb370
chore(deps): Bump github/codeql-action from 3.29.1 to 3.29.2 ( #1219 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.1 to 3.29.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](39edc492db...181d5eefc2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.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-07-08 14:04:45 +08:00
dependabot[bot]
7e337bfe13
chore(deps): Bump kentaro-m/auto-assign-action from a558e3a7a389eae6d782d4f5ad0aaa5e36ec2e39 to db77befe126df3163e8ee988af621569f7f2b82f ( #1220 )
...
chore(deps): Bump kentaro-m/auto-assign-action
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action ) from a558e3a7a389eae6d782d4f5ad0aaa5e36ec2e39 to db77befe126df3163e8ee988af621569f7f2b82f.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases )
- [Commits](a558e3a7a3...db77befe12 )
---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
dependency-version: db77befe126df3163e8ee988af621569f7f2b82f
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-07-08 14:04:21 +08:00
dependabot[bot]
511117fe4e
chore(deps): Bump indicatif from 0.17.11 to 0.18.0 ( #1221 )
...
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.11 to 0.18.0.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.11...0.18.0 )
---
updated-dependencies:
- dependency-name: indicatif
dependency-version: 0.18.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-07-08 14:03:57 +08:00
dependabot[bot]
997e14318d
chore(deps): Bump tokio from 1.45.1 to 1.46.1 ( #1222 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.45.1 to 1.46.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.1...tokio-1.46.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.46.1
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-07-08 14:03:29 +08:00
dependabot[bot]
4db4a5b1ce
chore(deps): Bump aquasecurity/trivy-action from 0.31.0 to 0.32.0 ( #1223 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.31.0 to 0.32.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](76071ef0d7...dc5a429b52 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-version: 0.32.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-07-08 14:03:02 +08:00
Gaius
3c5abded83
chore: update cargo version to 1.0.2 ( #1218 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-07 13:01:49 +00:00
Gaius
5fbc681ee5
chore(Dockerfile): Change TARGETARCH to TARGETPLATFORM in Dockerfiles for multi-platform builds ( #1217 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-07 10:48:06 +00:00
Gaius
612fa07845
chore(Dockerfile): support jemalloc for 64K page size ( #1216 )
...
chore(DOckerfile): support jemalloc for 64K page size
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-07 11:16:55 +08:00
Gaius
38abfaf4f3
feat: Update error message in task.rs to remove 'persistent cache' reference ( #1215 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-03 19:04:30 +08:00
Gaius
cad36b3a19
feat: remove write buffer and check piece length when write piece finished
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-03 02:03:59 +08:00
Gaius
fb3be39b50
docs: Remove license section README.md ( #1213 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-01 15:45:18 +08:00
Gaius
7cf69832a8
chore: update cargo version to 1.0.0 ( #1212 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-07-01 11:54:51 +08:00
dependabot[bot]
99fdab86bb
chore(deps): Bump github/codeql-action from 3.29.0 to 3.29.1 ( #1211 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.29.0 to 3.29.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ce28f5bb42...39edc492db )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.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-07-01 11:43:28 +08:00
dependabot[bot]
afd9e9fe3c
chore(deps): Bump taiki-e/cache-cargo-install-action from 2.1.2 to 2.2.0 ( #1210 )
...
Bumps [taiki-e/cache-cargo-install-action](https://github.com/taiki-e/cache-cargo-install-action ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/taiki-e/cache-cargo-install-action/releases )
- [Changelog](https://github.com/taiki-e/cache-cargo-install-action/blob/main/CHANGELOG.md )
- [Commits](5c9abe9a3f...1bb5728d79 )
---
updated-dependencies:
- dependency-name: taiki-e/cache-cargo-install-action
dependency-version: 2.2.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-07-01 11:43:10 +08:00
Gaius
cec3407126
fix: OTLP endpoint URL parsing to correctly include protocol in tracing module ( #1209 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-30 18:53:10 +08:00
Gaius
23fa1ba3b7
feat: verify digest when file is downloaded ( #1208 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-30 14:32:07 +08:00
Gaius
4711bd86af
feat: bump version to 0.2.41 and optimize vector initialization in dfdaemon_upload ( #1207 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-25 12:46:31 +00:00
Gaius
a81a67a7bc
feat: support HTTPS protocol for otel ( #1206 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2025-06-25 15:54:01 +08:00
dependabot[bot]
b31732332c
chore(deps): Bump kentaro-m/auto-assign-action from e6c4932f995626505d2a5d85401b0319753caa11 to a558e3a7a389eae6d782d4f5ad0aaa5e36ec2e39 ( #1204 )
...
chore(deps): Bump kentaro-m/auto-assign-action
Bumps [kentaro-m/auto-assign-action](https://github.com/kentaro-m/auto-assign-action ) from e6c4932f995626505d2a5d85401b0319753caa11 to a558e3a7a389eae6d782d4f5ad0aaa5e36ec2e39.
- [Release notes](https://github.com/kentaro-m/auto-assign-action/releases )
- [Commits](e6c4932f99...a558e3a7a3 )
---
updated-dependencies:
- dependency-name: kentaro-m/auto-assign-action
dependency-version: a558e3a7a389eae6d782d4f5ad0aaa5e36ec2e39
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-06-24 11:00:13 +08:00
dependabot[bot]
d321adf22c
chore(deps): Bump mheap/github-action-required-labels from 5.5.0 to 5.5.1 ( #1203 )
...
chore(deps): Bump mheap/github-action-required-labels
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels ) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases )
- [Commits](388fd6af37...8afbe8ae6a )
---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
dependency-version: 5.5.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-06-24 10:59:58 +08:00