Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow metadata-only uploads and downloads #4755

Open
ckamm opened this issue Apr 28, 2016 · 7 comments
Open

Allow metadata-only uploads and downloads #4755

ckamm opened this issue Apr 28, 2016 · 7 comments

Comments

@ckamm
Copy link
Contributor

ckamm commented Apr 28, 2016

In some cases file metadata changes, but the file content stays the same. This situation is detected through checksums (see #4375 #4754). When that happens, we want to avoid re-uploading or downloading the full file and just update the metadata instead.

  1. When the current and the stored checksum of a local file are identical, but metadata (mtime, possibly permissions in the future) changed, use a PROPSET to update the remote metadata.
  2. When the remote metadata changed but the remote and local checksums are identical, update the local metadata.
@ckamm ckamm added this to the 2.3.0-next milestone Apr 28, 2016
ckamm added a commit to ckamm/owncloud-client that referenced this issue Apr 28, 2016
This is a workaround. A correct solution would still update file metadata
such as the mtime. See owncloud#4755.
ckamm added a commit that referenced this issue Apr 28, 2016
This is a workaround. A correct solution would still update file metadata
such as the mtime. See #4755.
@ckamm
Copy link
Contributor Author

ckamm commented May 19, 2016

Depends on owncloud/core#20474

@moscicki
Copy link
Contributor

I would also consider to allow syncing additional metadata (maybe OS dependent, such as labels on OSX). This maybe a separate issue though...

@ogoffart
Copy link
Contributor

(I removed the milestone because it depends on a server issue which is not scheduled.)

@guruz
Copy link
Contributor

guruz commented Jul 6, 2018

CC @PVince81

@guruz
Copy link
Contributor

guruz commented Jul 6, 2018

Maybe we'd then need a server capability can-change-metadata-without-etag-change?

@PVince81
Copy link
Contributor

PVince81 commented Jul 6, 2018

yes, or "etag-propagation-behavior v2.0" or "metadata-behavior v2.0"
then every time we change it we increase its major version like for APIs

@moscicki
Copy link
Contributor

moscicki commented Jul 6, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants