houseme
e6b019c29d
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# .github/workflows/build.yml
# .github/workflows/ci.yml
# Cargo.lock
# Cargo.toml
# appauth/src/token.rs
# crates/config/src/config.rs
# crates/event-notifier/examples/simple.rs
# crates/event-notifier/src/global.rs
# crates/event-notifier/src/lib.rs
# crates/event-notifier/src/notifier.rs
# crates/event-notifier/src/store.rs
# crates/filemeta/src/filemeta.rs
# crates/notify/examples/webhook.rs
# crates/utils/Cargo.toml
# ecstore/Cargo.toml
# ecstore/src/cmd/bucket_replication.rs
# ecstore/src/config/com.rs
# ecstore/src/disk/error.rs
# ecstore/src/disk/mod.rs
# ecstore/src/set_disk.rs
# ecstore/src/store_api.rs
# ecstore/src/store_list_objects.rs
# iam/Cargo.toml
# iam/src/manager.rs
# policy/Cargo.toml
# rustfs/src/admin/rpc.rs
# rustfs/src/main.rs
# rustfs/src/storage/mod.rs
2025-06-19 13:16:48 +08:00
weisd
52342f2f8e
feat(grpc): walk_dir http
...
fix(ecstore): rebalance loop
2025-06-16 10:32:03 +08:00
weisd
e8a59d7c07
move disk::utils to crates::utils
2025-06-11 15:55:40 +08:00
weisd
f85ef06783
merge main
2025-06-09 15:31:11 +08:00
weisd
91c099e35f
add Error test, fix clippy
2025-06-09 11:29:23 +08:00
weisd
152ad57c1d
Upgrade rand to 0.9.1
2025-06-09 10:22:22 +08:00
weisd
1d2aeb288a
Upgrade rand to 0.9.1
2025-06-09 10:13:03 +08:00
houseme
9495df6d5e
refactor(deps): centralize crate versions in root Cargo.toml ( #448 )
...
* chore(ci): upgrade protoc from 30.2 to 31.1
- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability
This upgrade aligns our development environment with the latest protobuf standards.
* modify package version
* refactor(deps): centralize crate versions in root Cargo.toml
- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies
This change simplifies dependency management and ensures version consistency across the project.
* fix
* modify
2025-06-07 22:22:26 +08:00
houseme
d66525a22f
refactor(deps): centralize crate versions in root Cargo.toml ( #448 )
...
* chore(ci): upgrade protoc from 30.2 to 31.1
- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability
This upgrade aligns our development environment with the latest protobuf standards.
* modify package version
* refactor(deps): centralize crate versions in root Cargo.toml
- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies
This change simplifies dependency management and ensures version consistency across the project.
* fix
* modify
2025-06-07 21:52:59 +08:00
weisd
c589972fa7
mc test ok
2025-06-06 16:15:26 +08:00
weisd
db355bb26b
todo
2025-06-06 11:35:27 +08:00
weisd
9384b831ec
ecstore update ec/disk/error
2025-06-06 01:13:51 +08:00
houseme
8660c2af12
merge main
2025-05-28 17:26:31 +08:00
安正超
15befb705f
fix: resolve all remaining test failures and Clippy warnings
2025-05-28 11:28:43 +08:00
安正超
a1f4abf6c3
fix: resolve all Clippy warnings across codebase - Fixed field reassignment warnings in ecstore/src/file_meta.rs by using struct initialization instead of default + field assignment - Fixed overly complex boolean expression in ecstore/src/utils/os/mod.rs by removing meaningless assertion - Replaced manual Default implementation with derive in crates/zip/src/lib.rs - Updated io::Error usage to use io::Error::other() instead of deprecated pattern - Removed useless assertions and clone-on-copy warnings - Fixed unwrap usage by replacing with expect() providing meaningful error messages - Fixed useless vec usage by using array repeat instead - All code now passes comprehensive Clippy check with --all-targets --all-features -- -D warnings
2025-05-28 11:00:07 +08:00
houseme
a95138868e
improve code
2025-05-27 19:07:09 +08:00
houseme
ca8f399832
format comment
2025-05-27 13:56:19 +08:00
overtrue
8c0d3fa227
feat: add comprehensive tests for set_disk module - Add 21 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully with proper function behavior verification
2025-05-26 12:19:40 +08:00
overtrue
54972a57b1
feat: add comprehensive tests for set_disk module - Add 21 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully with proper function behavior verification
2025-05-25 18:50:32 +08:00
houseme
2cadbba6ad
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# Cargo.toml
# iam/src/manager.rs
# iam/src/store/object.rs
# rustfs/src/admin/handlers/sts.rs
# rustfs/src/main.rs
# rustfs/src/storage/ecfs.rs
2025-05-25 18:10:13 +08:00
houseme
864071d641
cargo fmt
2025-05-25 17:46:59 +08:00
overtrue
9d90913697
feat: translate Chinese comments to English across codebase
2025-05-25 15:24:34 +08:00
overtrue
0f1e9d0c63
feat: enhance test coverage for IAM utils and OS utils modules
2025-05-25 14:09:40 +08:00
houseme
791780dd68
fix typo
2025-05-19 16:32:56 +08:00
houseme
be8a615cd7
fix typo
2025-05-19 16:21:22 +08:00
houseme
37109fc618
upgrade crate version
2025-04-11 20:53:51 +08:00
weisd
0c435c6a05
add admin policy check for user operation
2025-04-11 10:46:36 +08:00
weisd
5188d00a09
merge license
2025-04-08 22:32:24 +08:00
weisd
3dbdd38889
rm log
2025-04-08 22:31:44 +08:00
houseme
0c7748658c
Merge main branches
2025-04-02 15:57:11 +08:00
houseme
15efeb572f
improve crate and remove log crate
2025-04-02 00:51:59 +08:00
houseme
147df8ab0b
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability
...
# Conflicts:
# rustfs/src/storage/ecfs.rs
2025-03-26 16:08:41 +08:00
weisd
d91429c5cf
add bucketpolicy
2025-03-26 11:25:12 +08:00
weisd
c8e13b8ab5
move policy out of iam
2025-03-26 10:19:47 +08:00
weisd
545ae79e44
move ecsotre/error to common
2025-03-25 17:42:15 +08:00
houseme
28a4a917d4
replace log to tracing
2025-03-19 22:34:26 +08:00
weisd
01cf4c663d
opt network io
2025-03-14 23:26:54 +08:00
weisd
4ff452ffd2
fix iam service_account bugs
2025-03-03 17:38:17 +08:00
loverustfs
35aa6ba454
Merge pull request #241 from rustfs/dependabot/cargo/dependencies-4426481644
...
Bump the dependencies group with 5 updates
2025-03-01 21:24:42 +08:00
DamonXue
442c618013
fix: update Functions deserialization logic and add run.bat script
2025-03-01 17:27:07 +08:00
dependabot[bot]
bc513c2604
Bump the dependencies group with 5 updates
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.30` | `4.5.31` |
| [rand](https://github.com/rust-random/rand ) | `0.8.5` | `0.9.0` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.14.0` | `1.15.1` |
| [rust-embed](https://github.com/pyros2097/rust-embed ) | `8.5.0` | `8.6.0` |
| [strum](https://github.com/Peternator7/strum ) | `0.26.3` | `0.27.1` |
Updates `clap` from 4.5.30 to 4.5.31
- [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.30...v4.5.31 )
Updates `rand` from 0.8.5 to 0.9.0
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.0 )
Updates `uuid` from 1.14.0 to 1.15.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.14.0...v1.15.1 )
Updates `rust-embed` from 8.5.0 to 8.6.0
- [Changelog](https://github.com/pyrossh/rust-embed/blob/master/changelog.md )
- [Commits](https://github.com/pyros2097/rust-embed/commits )
Updates `strum` from 0.26.3 to 0.27.1
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: rust-embed
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-01 06:02:44 +00:00
DamonXue
bf3cc5c13c
fix: enforce condition element presence in Functions deserialization
...
feat: add binary target for rustfs
2025-02-26 21:08:44 +08:00
weisd
c07d165ceb
fix admin api bugs
2025-02-24 11:15:50 +08:00
weisd
19d897a40b
fix service account action, add console config api
2025-02-23 15:06:13 +08:00
weisd
704c41b116
fix policy_db_get
2025-02-22 01:05:27 +08:00
weisd
d00bfd6243
fix policy parse
2025-02-12 17:34:23 +08:00
shiro.lee
ea78c416d0
fix: fix windows build
2025-02-06 19:59:36 +08:00
dependabot[bot]
6a7a447df3
Bump the dependencies group with 17 updates
...
Bumps the dependencies group with 17 updates:
| Package | From | To |
| --- | --- | --- |
| [async-trait](https://github.com/dtolnay/async-trait ) | `0.1.83` | `0.1.86` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.23` | `4.5.27` |
| [hyper](https://github.com/hyperium/hyper ) | `1.5.2` | `1.6.0` |
| [pin-project-lite](https://github.com/taiki-e/pin-project-lite ) | `0.2.15` | `0.2.16` |
| [prost-build](https://github.com/tokio-rs/prost ) | `0.13.3` | `0.13.4` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.134` | `1.0.138` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.14.0` | `3.16.0` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.9` | `2.0.11` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.42.0` | `1.43.0` |
| [transform-stream](https://github.com/Nugine/transform-stream ) | `0.3.0` | `0.3.1` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.11.0` | `1.12.1` |
| [log](https://github.com/rust-lang/log ) | `0.4.22` | `0.4.25` |
| [matchit](https://github.com/ibraheemdev/matchit ) | `0.8.5` | `0.8.6` |
| [shadow-rs](https://github.com/baoyachi/shadow-rs ) | `0.37.0` | `0.38.0` |
| [const-str](https://github.com/Nugine/const-str ) | `0.5.7` | `0.6.1` |
| [highway](https://github.com/nickbabcock/highway-rs ) | `1.2.0` | `1.3.0` |
| [ipnetwork](https://github.com/achanda/ipnetwork ) | `0.20.0` | `0.21.1` |
Updates `async-trait` from 0.1.83 to 0.1.86
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.83...0.1.86 )
Updates `clap` from 4.5.23 to 4.5.27
- [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.23...clap_complete-v4.5.27 )
Updates `hyper` from 1.5.2 to 1.6.0
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v1.5.2...v1.6.0 )
Updates `pin-project-lite` from 0.2.15 to 0.2.16
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases )
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.15...v0.2.16 )
Updates `prost-build` from 0.13.3 to 0.13.4
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.13.3...v0.13.4 )
Updates `serde_json` from 1.0.134 to 1.0.138
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.134...v1.0.138 )
Updates `tempfile` from 3.14.0 to 3.16.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.14.0...v3.16.0 )
Updates `thiserror` from 2.0.9 to 2.0.11
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.11 )
Updates `tokio` from 1.42.0 to 1.43.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0 )
Updates `transform-stream` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/Nugine/transform-stream/releases )
- [Commits](https://github.com/Nugine/transform-stream/compare/v0.3.0...v0.3.1 )
Updates `uuid` from 1.11.0 to 1.12.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.11.0...1.12.1 )
Updates `log` from 0.4.22 to 0.4.25
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.22...0.4.25 )
Updates `matchit` from 0.8.5 to 0.8.6
- [Release notes](https://github.com/ibraheemdev/matchit/releases )
- [Commits](https://github.com/ibraheemdev/matchit/compare/v0.8.5...v0.8.6 )
Updates `shadow-rs` from 0.37.0 to 0.38.0
- [Release notes](https://github.com/baoyachi/shadow-rs/releases )
- [Commits](https://github.com/baoyachi/shadow-rs/compare/v0.37.0...v0.38.0 )
Updates `const-str` from 0.5.7 to 0.6.1
- [Release notes](https://github.com/Nugine/const-str/releases )
- [Commits](https://github.com/Nugine/const-str/compare/v0.5.7...v0.6.1 )
Updates `highway` from 1.2.0 to 1.3.0
- [Changelog](https://github.com/nickbabcock/highway-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nickbabcock/highway-rs/compare/v1.2.0...v1.3.0 )
Updates `ipnetwork` from 0.20.0 to 0.21.1
- [Release notes](https://github.com/achanda/ipnetwork/releases )
- [Changelog](https://github.com/achanda/ipnetwork/blob/master/CHANGELOG.md )
- [Commits](https://github.com/achanda/ipnetwork/compare/v0.20.0...v0.21.1 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pin-project-lite
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: prost-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: transform-stream
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: matchit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: shadow-rs
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: const-str
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: highway
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: ipnetwork
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-01 05:15:24 +00:00
weisd
e13ffc8137
add policy api
2025-01-22 12:37:41 +08:00
weisd
05af5d7ddf
check
2025-01-21 17:49:55 +08:00