-
-
Notifications
You must be signed in to change notification settings - Fork 495
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
Feature/digitalocean spaces #1706
Feature/digitalocean spaces #1706
Conversation
…onataMediaBundle into feature/digitalocean_spaces
->replaceArgument(2, ['create' => $config['filesystem']['spaces']['create'], 'region' => $config['filesystem']['spaces']['region'], 'directory' => $config['filesystem']['spaces']['directory'], 'ACL' => $config['filesystem']['spaces']['acl']]) | ||
; | ||
|
||
$container->getDefinition('sonata.media.metadata.amazon') |
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.
amazon?
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.
from what i understand DO Spaces is s3-compliant. However, that is a good question if we need it at all. It may be required by Gaufrette AwsS3 adaptor.
@@ -251,6 +251,50 @@ private function addFilesystemSection(ArrayNodeDefinition $node): void | |||
->end() | |||
->end() | |||
|
|||
->arrayNode('spaces') |
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.
Can you please try to extract some small methods. This will improve readability.
Can you please finish this @jessequinn ? |
I was able to use Sonata Media with DigitalOcean Spaces using this approach #1774 and the sonata s3 configuration, so I think this change is not needed. |
This one should not be necessary anymore |
Subject
Allows for DigitalOcean Spaces to be used based on S3.
I am targeting this branch, because it is current.
I believe this addresses no issues at the moment other than the need for Spaces integration. Based on S3 filesystem. If new adaptor is made, currently in backlog, it will be easily integrated.
Changelog
Added
Added DigitalOcean Spaces support