Closed satra closed 2 years ago
forgot about the token! so pretty much should be "register on dandiarchive and retrieve authorization token" before current "5. Use dandi register ...".
I am ok to make workflow more dandiarchive-centric and will absorb current 1-4 (prepare nwb ... validate) as a detailed version of proposed here 4. organize files
. Will look into that tomorrow.
Re "update"
not unlike working with some shared folder on google or box.com
but those provide versioning. so they can at least recover deleted files.
while not super urgent, i think we would want to move to better versioning soon. the collaborative write process is always hairy!
ha -- I just added an edit about VCS - I am all for discussing versioning ;-)
I think we should not do create a dandiset.yaml file within the staged folder
for now, as that will break metadata editing in the UI. Let's hold off on that until we've thought through the metadata editing/versioning lifecycle, with both UI and CLI.
when the cli downloads the dataset it will be forced to create a local dandiset.yaml
. the nwb wrelated metadata will be extracted and add to the dandiset.yaml
. and this will be pushed back by the client. since it is a cli, we could do the conversion (folder metadata <--> file) behind the scenes.
temporarily we could also enable a checkout flag, such that a team member can checkout the dandiset for modification, but other team members can overwrite the checkout. we leave it to a team's social networking to resolve this.
I think this workflow was at large implemented and documented within handbook, no further action is needed on this particular issue. If needed more work, separate dedicated issues could be filed referencing this issue.
register/upload process
update process questions: