Skip to content

Flysystem base adapter - #16923

Merged
DeepDiver1975 merged 3 commits into
masterfrom
flysystem-base
Jul 3, 2015
Merged

DeepDiver1975 merged 3 commits into
masterfrom
flysystem-base

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor

Generic storage backend for flysystem adapters.

Allows to create a storage backend for any external storage supported by flysystem with minimal effort.

Example app: https://github.com/icewind1991/owncloud_azure

3rdparty: owncloud-archive/3rdparty#175

cc @DeepDiver1975 @PVince81

@ghost

ghost commented Jun 14, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

@bantu

bantu commented Jun 14, 2015

Copy link
Copy Markdown

I think @LukasReschke will like this too. :-)

@DeepDiver1975 DeepDiver1975 added this to the 8.2-next milestone Jun 15, 2015
@PVince81

Copy link
Copy Markdown
Contributor

How about making a separate app for flysystem ?
Or should we have flysystem base in core and then implement every storage separately ?

Remember that we had the discussion about moving every ext storage backends into separate apps, might be the opportunity to start this new trend 😄

@DeepDiver1975

Copy link
Copy Markdown
Contributor

How about making a separate app for flysystem ?
Or should we have flysystem base in core and then implement every storage separately ?

Based on the discussion with @icewind1991 this is the base class to be used by other implementation.
The base class will stay in core - the explicit implementations will go into separate apps (and repos with travis ?)

@PVince81

Copy link
Copy Markdown
Contributor

Sounds good

@icewind1991

Copy link
Copy Markdown
Contributor Author

rebased, can we get this merged now 8.1 is branched.

(maintaining PR's with 3rdparty changes is a pain)

@DeepDiver1975

Copy link
Copy Markdown
Contributor

(maintaining PR's with 3rdparty changes is a pain)

3rdparty is merged

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@ghost

ghost commented Jul 2, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

Comment thread lib/private/files/storage/flysystem.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

PHPDoc ?

Also in general all over ownCloud I don't like how we never know what a class is about.
This class is called "Flysystem" and extends "Common" but it still doesn't tell us that both are actually storages.
I'd usually prefer calling them FlysystemStorage and CommonStorage.
But well, this is all legacy stuff... so. At least some PHPDoc might help.

@icewind1991

Copy link
Copy Markdown
Contributor Author

Added the phpdoc requested

@ghost

ghost commented Jul 3, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

@PVince81

PVince81 commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

Bad luck, needs another rebase 😦

@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

@icewind1991

Copy link
Copy Markdown
Contributor Author

rebased

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@PVince81

PVince81 commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

👍

@ghost

ghost commented Jul 3, 2015

Copy link
Copy Markdown

🚀 Test PASSed.🚀
chuck

@DeepDiver1975

Copy link
Copy Markdown
Contributor

👍

DeepDiver1975 added a commit that referenced this pull request Jul 3, 2015
@DeepDiver1975
DeepDiver1975 merged commit 7b9daf8 into master Jul 3, 2015
@DeepDiver1975
DeepDiver1975 deleted the flysystem-base branch July 3, 2015 15:48
@DeepDiver1975

Copy link
Copy Markdown
Contributor

awesome - foundation has been set for moving on with the files_external.

Thanks a lot @icewind1991

@PVince81

PVince81 commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

🍸

I guess next step is to make the FTP one use it ? #14551

@LukasReschke

Copy link
Copy Markdown
Contributor

Awesome work folks!!!!! 🚀

@DeepDiver1975

Copy link
Copy Markdown
Contributor

I guess next step is to make the FTP one use it ? #14551

  • S3
  • dropbox
  • ftp/sftp
  • google
  • swift

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants