[CR] Waterbutler OneDrive Plugin#151
[CR] Waterbutler OneDrive Plugin#151caseyrygt wants to merge 95 commits intoCenterForOpenScience:developfrom
Conversation
…displays the folder as a child folder
…e does not have revisions
…. http://localhost:7777/...)
…orks with a single file in the project root folder; todo: test upload to subfolder
…Related: [#OSF-5226]
| i = 0 | ||
| status = None | ||
|
|
||
| while (i < settings.ONEDRIVE_COPY_INTERATION_COUNT): |
There was a problem hiding this comment.
Typo: INTERATION => ITERATION. Ditto in settings.py.
…gin and fix upload issues
| names = od_path.file_path(data) | ||
| ids = od_path.ids(data) | ||
|
|
||
| wb_path = WaterButlerPath(names, _ids=ids, folder=path.endswith('/')) |
|
I think the |
|
Closing in favor of #205, which extends the work done in this PR. Thanks, @caseyrygt! |
This feature was done as a COS-funded Integration Grant by: * Ryan Casey (@caseyrygt) Additional work was done on read-write support by Alexandr Melnikov (@alexandr-melnikov-dev-pro). Read-write will be added in a future release. Thank you both for all your hard work on this! [SVCS-269] [SVCS-458] Closes: #205 Related: #102, #151, #177
@felliott: This is ready for you to review.
Could you please review the copy functionality? OneDrive's "Copy" function is asynchronous (the other methods are not) and requires the client to check the status of the copy job in order to know when it has completed. If there's a better way than a for loop to check the OneDrive job status, please let me know.
Thanks!