-
Notifications
You must be signed in to change notification settings - Fork 10
One-way sync #17
Comments
I'm planning to store this configuration in the driver. So will be possible to have the same "drive" with 3 different configurations: multi-way sync (default), server-to-host (download only), host-to-server (upload-only). My first thought was to store the configuration on the account, but then I lose the flexibility a little bit. The configuration will be stored on the config.json (default to |
Space for some questions: On the server-to-host (download only), if some file gets moved/renamed/deleted on the server, should this be sync too? On the host-to-server (upload only), if some local file gets moved/renamed/deleted, should this be sync? I don't think both questions need to be fixed. I need to find a way to let the drivers be flexible regarding its configuration. Maybe for some use cases make sense only download new files, and not delete if was deleted on the server, in another use case I would have to delete too. One possible approach is on when configuring the driver ask these things: For upload:
For download:
And ask a confirmation if not select the default. |
This sounds like a really useful feature. I am most intrested in the "Add only" option for upload at this point in time. |
@GeorgLippold thank you for the feedback. I'm working on it in this branch. enable it per-directory looks a little bit difficult to do in my opinion, mostly because at the first time that you assign to sync, the framework have no idea what folders the person has, so that's why I was thinking to do this per DRIVE. |
@modelmat I changed the previous idea... Please download this file, open www.draw.io and import it to see what I'm thinking to do. Also check this function to see what are the possible configurations to sync from local to onedrive and this function to do the opposite direction. Please feel free to change how I'm trying to explain the concept, because I'm not soo good with words haha. |
Yikes, I'll have a go at decrypting this. |
Looking into the most reactions issues on parent project (xybu/onedrived-dev), there are a lot of people asking for one-way sync on both directions server to client and client to server.
This issue is to investigate this and organize ideas about how to structure the required changes.
The text was updated successfully, but these errors were encountered: