feat: S3Compatible storage adapter#76
feat: S3Compatible storage adapter#76haymaker wants to merge 6 commits intoutopia-php:mainfrom haymaker:feat-28-s3compatible-storage-adapter
Conversation
|
Thanks, will get these changes completed (and ensure latest main is merged into my branch). This was my IDE - it's set to PSR-12 default for php8, I should have noticed this in the first place. I appreciate the heads up! |
|
Changes have been made, branch also rebased to latest upstream/main. |
stnguyen90
left a comment
There was a problem hiding this comment.
@christyjacob4, what do you think about merging this in now and then we can iterate on this to maybe consolidate out other adapters?
|
Any news? |
|
What’s the latest on this? Really hoping to use other S3-compatible storage platforms! 😊 Thank you! |
|
@AndrewBucklin I'd forgotten this was still open, I thought it had been merged! If this ends up needing to be rebased against main i can do it - it's been a while since I created this. Depending on direction/use case, it could be used as a base for other S3-compatible storage adapter decorators. |
|
any news? @christyjacob4 @stnguyen90 |
|
Hey @haymaker |
stnguyen90
left a comment
There was a problem hiding this comment.
Hmm I was hoping for a cleaner. bit these changes to S3 make it a little messy...I'm not sure if we want to move forward with this approach 😕
|
Sorry, we're going to opt for this instead: #103 |
Description
The following PR creates a generic S3-Compatible storage adapter that extends the Utopia\Storage\Device\S3 class in order to provide for customized endpoints in vhost-style or path-style storage access.
Addressed Issue
This PR addresses #28 and attempts to do so using a least-intrusive method for code change. Scope was limited, as much as possible, to the implementation of the S3Compatible adapter. Other additions, modifications, or refactors that I may be able to address will have their own separate issues/PRs opened.
Change Details
Attempts were made to limit excess code modification. Several considerations had to be taken into account for this change:
Tests