-
Notifications
You must be signed in to change notification settings - Fork 62
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
feat: S3Compatible storage adapter #76
feat: S3Compatible storage adapter #76
Conversation
0f908bf
to
32f6d39
Compare
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! |
32f6d39
to
890b8c0
Compare
Changes have been made, branch also rebased to latest upstream/main. |
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.
@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 |
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.
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