Repository navigation
Conversation
|
Hi @ncw seems like it is failing specifically on other_os, it's like it's not considering the changes I made on lib/kv/bolt.go |
|
You will need to make the function signature changes in Lines 18 to 21 in 6a7e68a too because bolt.go has build restrictions for plan9 & js:
|
Thanks for pointing this out |
|
Seems like build / mac_amd64 failed on tests, I just don't think it is related to my changes |
|
We’ve talked before about adding sqlite as a kv implementation, so I wonder if it would make sense to combine this PR with the sqlite backend PR (#8387) by adding a sqlite-based kv implementation and allowing the kvfs backend to use either bolt or sqlite depending on a user-configurable option. Let us see what @ncw thinks. |
I think @ncw suggested the kv implementation because the sqlite implementation introduced new dependencies into the project |
|
Hi @marcelowa sorry for the delay in looking at this. I like this much better than the sqlite version as it uses stuff we already have built into rclone. Can you get the unit tests and the integration tests working? I tried the unit tests and they didn't work for me. |
f7e5fdf to
bcc2415
Compare
@ncw Thanks for the feedback, hopefully I fixed the tests |
|
@ncw @darthShadow most of the build process went well :) , I don't think the windows build failures are related to my changes |
|
@ncw @darthShadow I rebased the code to keep it aligned with master, please rerun the workflows |
|
Hi @marcelowa sorry about the delay looking at this. Let's try to get it merged for 1.71 How are the integration tests looking? |
|
@ncw it looks like everything passed :) |
…heDir() This change makes it possible to use lib/kv for other purposes while allowing to store the db in a place more accessible for the user
|
rebased |
What is the purpose of this change?
Add a new backend: KVFS
Following @ncw proposal here #8386 (comment)
Checklist