Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Added support for List Parts #119

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

felixhageloh
Copy link

As described here
http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListParts.html

This only adds rudimentary features for List Parts. Things like pagination and Owner/Initiator are not supported.

Cleaned up related code (combine_object_parts) a bit as well. Git blame doesn't show it but it was mostly my code originally :)

@m-butterfield
Copy link

Hey @felixhageloh @jubos what's the status on this? Would really like to see this merged in! 😃

@Kureev
Copy link

Kureev commented Nov 4, 2016

What's the status of this PR?

@pickhardt
Copy link
Collaborator

Hey guys, I can merge this, let me check with jubos first though.

@Kureev
Copy link

Kureev commented Nov 6, 2016

Thank you, @pickhardt! We're using this code in our project for a year already. It'll be very nice if we can switch from our fork to original repo ❤️

@Kureev
Copy link

Kureev commented Nov 11, 2016

Hey @jubos!

Can we have a few minutes of your time to review this PR, please 🙏 ?

etag = Digest::MD5.hexdigest(chunk)

raise new Error "invalid file chunk" unless part[:etag] == etag
fail StandardError, "invalid part #{part[:etag]}" unless part[:etag] == etag
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you switch this to fail?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

following the rule of thumb of only using raise in rescue blocks (in other words: because my linter told me so)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to mention: I can change that to raise if that's more in line with you codebase

@zabawaba99
Copy link

Any updates on this PR?

@lra
Copy link

lra commented Nov 15, 2017

Hi,

This issue is blocking us, so unfortunately we have to fork away until this is solved.

Thanks!

* Add ability to filter objects and batch delete

* Skip broken/corrupt files on intial load
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants