-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Update aws sdk + s3 improvements #4410
Conversation
As we talked in #3910 , is there any plan to build a new app and move aws sdk into it, so that we can support more object storage backend? |
You can already create an app to add support for an object store backend, simply have the app define the class implementing the backend. Since the object store config specifies the class to use directly there is no need to do any further "hooking up" of things |
ca44024
to
1a401b6
Compare
Codecov Report
@@ Coverage Diff @@
## master #4410 +/- ##
============================================
+ Coverage 53.36% 53.38% +0.01%
+ Complexity 22576 22535 -41
============================================
Files 1409 1410 +1
Lines 87338 87229 -109
Branches 1340 1340
============================================
- Hits 46611 46565 -46
+ Misses 40727 40664 -63
|
This is ready for review imo |
hmm couldnt the deps be in the files_externals composer instead of the global one? |
I moved them to the global one since it is also used by the object store backend which is in core |
@icewind1991 Could you please fix the updated 3rdparty |
1a401b6
to
7acacd8
Compare
rebased |
7acacd8
to
cc3a499
Compare
cc3a499
to
905d63e
Compare
I resolved the conflict and updated the 3rdparty module. |
I get this when I run the installation:
This is the config:
And I'm using fakeS3 |
905d63e
to
f5b0a8b
Compare
@MorrisJobke should be fixed |
bf03293
to
1853959
Compare
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.
And please also update the autoloader then this can be merged.
@@ -394,7 +456,7 @@ public function touch($path, $mtime = null) { | |||
$fileType = $this->filetype($path); |
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.
Line 453: phan says:
apps/files_external/lib/Lib/Storage/AmazonS3.php:453 PhanUndeclaredClassConstant Reference to constant RFC1123 from undeclared class \Aws\Common\Enum\DateFormat
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
1b21238
to
3bf1495
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
e9583a5
to
f0c7b8f
Compare
Can we backport this? |
requires: add aws sdk 3rdparty#51
move ask sdk from
files_external/3rdparty
to3rdparty
update aws sdk
adjust files_external s3 and object store s3 to work with the updated sdk
improve performance for s3 external storage
external storage upload performance comparison: blackfire #