Open graeme-winter opened 4 years ago
Turns out that this jams up / starts pulling HTTP 500 errors after ~1,000 or so files - chatting to Zenodo developers about this. Should probably work out a way to incrementally upload data sets.
Ah, they know they have some n² loops or something in the way they handle things and are looking to add an explicit limit to the number of files in a data set. May need a better way to do this.
One idea which occurs to me is whether we can make data public in iCAT? 🤔
Description
Propose to add an automated zenodo data uploader which could also generate the appropriate JSON text for the new data set - there is a REST API which appears to work simply enough. Will require a user generate an upload token using instructions at:
https://zenodo.org/account/settings/applications/tokens/new/
What I Did
allows automated upload of every file in a directory, as an example - the token can have permission to complete the upload and publish, but in my test case I did not test this out, just used it to upload 3,450 files.