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

Fixes #48 #49

Merged
merged 2 commits into from
May 25, 2020
Merged

Fixes #48 #49

merged 2 commits into from
May 25, 2020

Conversation

zleight1
Copy link
Contributor

Added support for configured canned ACL on S3 put call.
Added to readme with new parameter.
Added to s3 gitlab example.

- Added support for configured canned ACL on S3 put call.
- Added to readme with new parameter.
- Added to s3 gitlab example.
Copy link
Member

@frehner frehner left a comment

Choose a reason for hiding this comment

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

code looks good, just have a question about DO situations

src/io-methods/s3.js Outdated Show resolved Hide resolved
@zleight1
Copy link
Contributor Author

zleight1 commented May 21, 2020 via email

@frehner
Copy link
Member

frehner commented May 21, 2020

yeah I'm good if we just utilize that DO check.

@joeldenning
Copy link
Member

it could be nice to support any of the S3 PutObject params, instead of just the ACL. See my suggestion at #48 (comment) for what a config file could look like for this.

Additionally, another thing to consider is whether to support a different ACL per import-map-deployer location. I'm okay with skipping that for now since it makes things more complicated, but thought I'd bring it up.

@zleight1
Copy link
Contributor Author

zleight1 commented May 24, 2020

I'll go ahead and make the changes to support any of the s3 parameters. I'll remove the validation that I originally wrote, and just pass along whatever we get from that s3 putObject config. This way we don't need to change code if the values/structure of the putObject changes, and any DO changes would just be in the config.

Copy link
Member

@joeldenning joeldenning left a comment

Choose a reason for hiding this comment

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

Looks good to me - thanks!

@joeldenning joeldenning merged commit 6ff73eb into single-spa:master May 25, 2020
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.

3 participants