Skip to content
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

allow specifying bucket ACL policy on upload #72

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

kevin-brendle-lark
Copy link
Contributor

adding settings key for a map of bucket name to ACL. update upload.putImpl to optionally allow multiple customizations to the PutObjectRequest

…tImpl to optionally allow multiple customizations to the PutObjectRequest
@kevin-brendle-lark
Copy link
Contributor Author

Hey @tpunder, I am using your package as part of some data engineering activities and it has worked great for using s3 as a maven source. However, I ran into an S3 bucket that requires ACL to be set on the put requests which prompted this PR.

Overall, functionally everything is backwards compatible and this update is being used to perform uploads with this s3 restriction. I was able to preserve the existing code flow while adding this optional argument to the s3 upload which will also serve to allow further customizations.

Is this something that you think we could work in? I'm happy to make updates to better align towards your vision for the project

@tpunder tpunder merged commit a85a934 into tpunder:master Feb 25, 2022
@tpunder
Copy link
Owner

tpunder commented Feb 25, 2022

@kevin-brendle-lark Merged and published as version 0.21.0. Sorry for the delay! I meant to take a look at this when it came in last week but then got sidetracked.

@kevin-brendle-lark
Copy link
Contributor Author

@kevin-brendle-lark Merged and published as version 0.21.0. Sorry for the delay! I meant to take a look at this when it came in last week but then got sidetracked.

no problem. I know how it goes, that's why i figured a poke might be good. thank you!

@kevin-brendle-lark kevin-brendle-lark deleted the bucket-acl-option branch February 25, 2022 23:27
@tpunder
Copy link
Owner

tpunder commented Feb 25, 2022

Yup, thanks for the poke 😄

Maven central sync should kick in soon (usually 10 mins or so) for 0.21.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants