Skip to content

Better detecting of remote changes for external shares - #9263

Merged
icewind1991 merged 4 commits into
masterfrom
remote-share-update
Jun 27, 2014
Merged

icewind1991 merged 4 commits into
masterfrom
remote-share-update

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor
  • Use the etag to detect changes instead of the less reliable mtime
  • Detect changes to permissions of the share
  • Only check the root of the storage since we can rely on etag propagation

Fixes #9086

cc @PVince81 @DeepDiver1975 @schiesbn

@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is really cool stuff!

@karlitschek

Copy link
Copy Markdown
Contributor

great!! 👍

@PVince81

Copy link
Copy Markdown
Contributor

Works 👍

Permissions changes are detected and changing files deep into the remote server structure is also detected by the sync client. Great stuff 👍

@icewind1991 will this implementation also be used by the "ownCloud" ext storage ? If not we might want to consider using the same mechanism 😄 (separately of course)

@ghost

ghost commented Jun 27, 2014

Copy link
Copy Markdown

@icewind1991

Copy link
Copy Markdown
Contributor Author

will this implementation also be used by the "ownCloud" ext storage ? If not we might want to consider using the same mechanism 😄 (separately of course)

Everything except the "only check root of the storage" is for all DAV based storages, I will look into having that available for all dav storages later (not sure if we can be certain that all DAV servers do proper etag propagation)

icewind1991 added a commit that referenced this pull request Jun 27, 2014
Better detecting of remote changes for external shares
@icewind1991
icewind1991 merged commit 1a3e698 into master Jun 27, 2014
@PVince81

Copy link
Copy Markdown
Contributor

@icewind1991 I think having it for the "ownCloud" backend time would be enough.
Remember that in OC 7 we split the regular WebDAV ext storage backend from the ownCloud backend. So for the ownCloud backend we can allow ourselves fancy stuff 😄

@jancborchardt
jancborchardt deleted the remote-share-update branch August 8, 2014 23:40
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote server share mount must detect permission changes / unsharing

4 participants