You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uploading a dataset to JuliaHub is actually a multi-step process where you "open an upload" to get S3 credentials, then talk directly to S3, and finally you "close the upload". We currently hide away that complexity in:
# If everything was successful, we'll return an updated DataSet object.
returndataset((username, dataset_name); auth)
end
Sometimes the users may want to control the upload step themselves. So we should expose a slightly lower level API that returns an object to the user that contains the information and credentials for the active dataset upload. The users can then upload the data themselves, and finally they just need to close the upload.
The use cases I see for this:
Users wanting to upload things to S3 themselves using another tool, and they just want the credentials (e.g. they want to invoke rclone by hand for one reason or another).
Tools that want to have more control over how data gets written to the S3 bucket (e.g. to avoid writing all the files as temporary files).
The text was updated successfully, but these errors were encountered:
Uploading a dataset to JuliaHub is actually a multi-step process where you "open an upload" to get S3 credentials, then talk directly to S3, and finally you "close the upload". We currently hide away that complexity in:
JuliaHub.jl/src/datasets.jl
Lines 482 to 606 in 27e5c72
Sometimes the users may want to control the upload step themselves. So we should expose a slightly lower level API that returns an object to the user that contains the information and credentials for the active dataset upload. The users can then upload the data themselves, and finally they just need to close the upload.
The use cases I see for this:
rclone
by hand for one reason or another).The text was updated successfully, but these errors were encountered: