-
Notifications
You must be signed in to change notification settings - Fork 25
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
organize: add optional --disappeared=error|remove
or --mode=complete|incremental
#47
Comments
to start with i would keep it simple. the so i do like the consideration of |
NB
so that would be the default (complete) mode of |
I guess, in addition to proper "incremental" (where I point to e.g. a single additional file to be 'organized') the most user-friendly way would be similar to what we should aim for upload/download - a Then we could have consistent user interface for all 3 possible data locations:
and by consistent I mean
|
as for "incremental", if we allow for some options (e.g. either to minimize filenames or even use some alternative set of keys), we would need to store them in target dandiset somewhere so subsequent invocation . At some point I suggested to store them directly within |
Another additional behavior which would lead to relatively smooth user experience I think could be implemented via |
If
organize
is (re)run on a full collection of files, some of which were modified, then by "injecting" new files and leaving previously organized ones we might end up breeding some . With something like--disappeared
we could detect which paths were no longer considered and offer to remove them.Alternatively - we could make a default mode to be "complete" (default) which would imply removing files which were not "re-organized" (probably should ask first since could lead to the loss of data) and only by adding explicit
--mode=incremental
(complete - default) new file added in, while allowing all previous stick around.The text was updated successfully, but these errors were encountered: