Comment 20 for bug 365242

Revision history for this message
Michele (mikelito) wrote :

If I may add some thoughts, there is a subtle problem both if one decides to follow symlinks, and if multiple directories are to be handled. Consider this scenario: say that I have two machines synced via UbuntuOne.
I want to sync
machine1:~user1/folder_a/folder_b

now, let's say I add ~user1/folder_a/folder_b to the synced list on machine1. what will then happen on machine2?
recreating a new directory with the absolute path is impossible, as I might even have a different username on machine2. Let alone what would happen if I want to sync with different OS.

Let's say then that on other machines folder_b will appear as a sub-folder of ~/Ubuntu One.
Now, what happens if I want folder_b to be in a different location on machine_2?
this gets really messy, because if I move folder_b out of Ubuntu One, what will happen to
machine1:~user1/folder_a/folder_b
?

I think that a multiple-folder approach needs to be REALLY well-thought, for example there could be a 1-1 mapping between folders on different machines, and if I share a new folder, on syncing the other clients will have to ask "where do you want me to put this new, synced folder?"

symlink-following leads to same problems. I was first a bit pissed off by this "feature" being absent, but now I second the developers on the fact that this has to be well-considered and very cleanly designed.

Cheers!