-
Notifications
You must be signed in to change notification settings - Fork 28
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
upload/download(/organize): --sync mode #365
Comments
i'll add my comments to this: just wanted file this that we would likely want two upload modes [sync, append (default)] + a special delete mode to remove assets from a dandiset. it may also be helpful to have a helper that can clear out a dandiset ( with sufficient prompting for confirmation - type dandiset id, yes, etc.,.) use cases:
|
this should work ok with "2+ groups" use case
I think we better have a general ability to reupload just the metadata. So something like |
but nwb files have changed - so not just metadata. this is what happened with one of the datasets that ben was working on. |
Then just upload --existing=refresh |
to clarify
|
either in current API implementation or provision looking forward in the API (#447 ) but time to get |
@yarikoptic So "sync" mode should be the same as |
I think any deletion should be done with explicit instruction/option for that . That is what
(and iirc other tools for s3 etc support similar option(s)). I think we could add a |
@yarikoptic So what exactly are the desired semantics for the |
I think there is not much sense in adding |
renames: (if e.g. dandiset is reorganized but content is the same). For For
This |
@yarikoptic For |
great question. For paths = find_files(".*", paths) if allow_any_path else find_dandi_files(paths) I think we should just use the same |
Add "sync" option for upload & download
Both
upload
anddownload
should have an option to "sync" two copies of a dandiset in its entirety. This functionality need was mentioned before: #41 (comment) and #48 but apparently there were no clear dedicated issue for that, so decided to file a new issue (although #48 is likely to be addressed along).Should be
The text was updated successfully, but these errors were encountered: