Duke-GCB / Duke-GCB/DukeDSClient

Support for moving files in Data Service

Open
#243 0 comments 0 reactions 1 assignee Claimed by @johnbradley View on GitHub
Dominant language
Python
Stars
5
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Issue was raised during microbiome meeting today about how when files are moved locally, ddsclient uploads a new copy (but does not delete the old one)

I recall in the design of ddsclient that we discussed how to notice file moves and that ddsclient is not a sync client. However, since real-world use does involve re-organizing directories, we should consider how to improve this case.

I think first, we could provide SDK support for [PUT /api/v1/files/:id/move](https://api.dataservice.duke.edu/apiexplorer#!/files/putApiV1FilesIdMove)

Second, we could add a move command to the command-line to call this endpoint
Third, we could re-visit how to detect local filesystem moves and apply them remotely.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.