refactor: Split service fs out of core#6970
Conversation
|
Code looks good overall, but some place inside |
3a1e59d to
727fc81
Compare
core/src/lib.rs
Outdated
| #[cfg(feature = "services-aliyun-drive")] | ||
| extern crate opendal_service_aliyun_drive; | ||
| #[cfg(feature = "services-azblob")] | ||
| extern crate opendal_service_azblob; | ||
| #[cfg(feature = "services-azdls")] | ||
| extern crate opendal_service_azdls; | ||
| #[cfg(feature = "services-azfile")] | ||
| extern crate opendal_service_azfile; | ||
| #[cfg(feature = "services-fs")] | ||
| extern crate opendal_service_fs; | ||
| #[cfg(feature = "services-ghac")] | ||
| extern crate opendal_service_ghac; | ||
| #[cfg(feature = "services-hdfs-native")] | ||
| extern crate opendal_service_hdfs_native; | ||
| #[cfg(feature = "services-moka")] | ||
| extern crate opendal_service_moka; | ||
| #[cfg(feature = "services-mysql")] | ||
| extern crate opendal_service_mysql; | ||
| #[cfg(feature = "services-s3")] | ||
| extern crate opendal_service_s3; | ||
| #[cfg(feature = "services-vercel-blob")] | ||
| extern crate opendal_service_vercel_blob; | ||
|
|
There was a problem hiding this comment.
I don't think is the correct fix.
There was a problem hiding this comment.
fs used to be enabled default in opendal but now it's not, so we should add it here
opendal/bindings/ocaml/Cargo.toml
Lines 36 to 54 in 661e65b
There was a problem hiding this comment.
emm, seems services-fs have already been registered. Need another look over the test failure.
|
I double-checked again. I believe the changes in this PR are correct. However, for reasons we don't know (maybe Can you change OCaml to test against memory instead? We should just change opendal/bindings/ocaml/test/test.ml Line 29 in 661e65b Some test cases might fail too, so we need to update them accordingly. |
727fc81 to
72d9bad
Compare
|
I think we are good to go after merging with main. |
72d9bad to
ab8ae93
Compare
Signed-off-by: Jintao Zhang <[email protected]>
Added services-fs to the dev-dependencies in integrations/object_store/Cargo.toml so that the local_fs behavior test for the object_store integration can use the fs service. Signed-off-by: Jintao Zhang <[email protected]>
Signed-off-by: Jintao Zhang <[email protected]>
b31cb46 to
bfb7b85
Compare
Which issue does this PR close?
Closes #6893
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?
It's Amp Code in smart mode with Claude 4.5 Opus model. Just one shot.
Full thread https://ampcode.com/threads/T-019b0c93-129d-77d0-a528-471145a5796d