Thanks to visit codestin.com
Credit goes to gitHub.com

Skip to content

improve support for dCache as a WebDAV remote#9074

Open
paulmillar wants to merge 1 commit intorclone:masterfrom
paulmillar:develop/add-dcache-as-webdav-vendor
Open

improve support for dCache as a WebDAV remote#9074
paulmillar wants to merge 1 commit intorclone:masterfrom
paulmillar:develop/add-dcache-as-webdav-vendor

Conversation

@paulmillar
Copy link
Contributor

Motivation

dCache is open-source software for storing scientific data that provides various enhancements over the standard WebDAV protocol.

Modification

Add a dcache vendor to identify when a WebDAV remote is a dCache instance.

Add support for specifying the desired last modification time (mtime) when upload data to dCache.

Identify that files' mtime may be used with second granularity.

Result

rclone can now take advantage of some of the more advanced features that dCache offers.

Closes: #8593

What is the purpose of this change?

Was the change discussed in an issue or in the forum before?

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

Motivation

dCache is open-source software for storing scientific data that provides
various enhancements over the standard WebDAV protocol.

Modification

Add a `dcache` vendor to identify when a WebDAV remote is a dCache
instance.

Add support for specifying the desired last modification time (mtime)
when upload data to dCache.

Identify that files' mtime may be used with second granularity.

Result

rclone can now take advantage of some of the more advanced features that
dCache offers.

Closes: rclone#8593
Signed-off-by: Paul Millar <[email protected]>
@paulmillar paulmillar force-pushed the develop/add-dcache-as-webdav-vendor branch from 5108d5c to 3370363 Compare January 1, 2026 12:18
@ncw
Copy link
Member

ncw commented Jan 2, 2026

This looks very nice :-)

Did you run the integration tests to see if they pass?

in the backend/webdav directory run go test -v -remote YourDcacheRemote: and see if they pass.

@paulmillar
Copy link
Contributor Author

Hi @ncw,

I ran some manual tests with the patch, to verify it does resolve the problem; however, I didn't run the WebDAV test suite.

In fact, running the test suite has identified a handful of problems, even when running an unpatched version of rclone against dCache. My plan is to resolve those issues (as spare time allows) and then retest with the patched version, to check this pull request doesn't introduces any regressions.

Just to mention, the first problem looks like a bug in rclone (see #9082).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webdav: dCache: add support for modtime syncing

2 participants