-
Notifications
You must be signed in to change notification settings - Fork 495
feat: download multiple object selection as zip ignoring any deleted objects selected #2965
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
Conversation
|
What issue is this solving @prakashsvmx ? |
0ec1897 to
35ba64e
Compare
|
@cesnietor Video of current multi select download implementationCurrent_Download_Impl.mp4With this implementation, if user selects multiple objects/prefixes and clicks download, all selected objects would be download as single zip. |
|
should we not be downloading all files in a single zip? |
|
@harshavardhana the prefixes can be large so i have taken this approach to download them individually. Also it would require listing. as the client ( console ui) does not have the objects list under a prefix. Currently the prefixes are downloaded as zip. |
if we are going to do this on client side for prefix, I think doing this on server side is better. |
|
Thank you for the guidance @harshavardhana . |
|
So basically ask MinIO to give you a zip result "streaming" result @prakashsvmx |
…p ignoring any deleted objects selected
208ebd4 to
8721cb9
Compare
d67ccc6 to
b151aaf
Compare
b151aaf to
7f6271b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, it works fine, It would be nice to display the download progress in the Upload / Download manager as well
|
Thanks for adding tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Current implementation:
Currently if the user selects multiple files and clicks download, each file is download individually.
This PR enhances the download experience.
When multiple objects/prefixes are selected and download is clicked perform the download as zip.
This PR is inspired by the prefix download as zip
Note:
It would ignore deleted objects if any selected via "Show deleted objects" option