You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Handle ignored remote folders specially: "Do not sync" hint from server #4621
It would make sense to be able to set a flag on the server and exclude certain folders from sync entirely.
When I know that I do not want to sync a certain part of my tree on any of my devices then the sync client should just ignore these folders. We know that in some cases our users use the storage for non-syncable cases (e.g. git checkouts, compilation, ...) accessing the filesystem directly.
This may be very easily done by adding a webdav property to the PROPFIND response indicating that a server's hint is not to sync given folder. A simplest client behaviour could be to ignore this part of the tree altogether -- as if it was matching the Ignored Files pattern defined locally.
There could be more elaborate mechanisms in the future, such that a user could locally override this setting and still sync the folder if needed to.
changed the title [-]Handle ignored remote folders specially[/-][+]Handle ignored remote folders specially: "Do not sync" hint from server[/+]on Mar 30, 2016
@moscicki The recent client versions 2.3.* have a theme.h option to not sync external storages (=folders) by default. This can be done with the "M" permission.
Wow, huge discussion on owncloud/core#26311
So we'd need to support a more generic webdav property or permission and should also check our behaviour for 503 (we might retry too often so better have another code?
Activity
[-]Add ignored folders to the sync protocol[/-][+]Handle ignored remote folders specially[/+]guruz commentedon Mar 30, 2016
Related: Server side exclude lists: owncloud/core#22607 owncloud/core#22607
FYI @MTRichards
Related #3093
[-]Handle ignored remote folders specially[/-][+]Handle ignored remote folders specially: "Do not sync" hint from server[/+]PVince81 commentedon Oct 10, 2016
I made a main ticket about a new webdav property that we could add: owncloud/core#26311
The ticket also links the many other tickets that suggest excluding stuff from sync with many different criteria.
PVince81 commentedon Oct 10, 2016
As discussed in the linked ticket, need to decide whether the permission is soft or hard: owncloud/core#26311 (comment)
Regarding selective sync mode, this wouldn't work for files, only folders, since the UI only allows selecting files.
cc @ogoffart
ogoffart commentedon Oct 10, 2016
yes, the selective sync is only for folders.
cdamken commentedon May 11, 2017
@pmaier1 @hodyroff
guruz commentedon May 11, 2017
@moscicki The recent client versions 2.3.* have a theme.h option to not sync external storages (=folders) by default. This can be done with the "M" permission.
client/src/libsync/discoveryphase.cpp
Line 93 in 1cec2ca
But you want something more generic?
guruz commentedon May 11, 2017
Wow, huge discussion on owncloud/core#26311
So we'd need to support a more generic webdav property or permission and should also check our behaviour for 503 (we might retry too often so better have another code?
moscicki commentedon May 11, 2017
Thank you. I commented directly in owncloud/core#26311