Skip to content

Conversation

@butonic
Copy link
Member

@butonic butonic commented Sep 15, 2016

@DeepDiver1975 @PVince81 I tried to replace all references of non OCP interfaces from \OCP\Files\Storage\IStorage ... there is a LOT wrong with the interfaces and I'll create separate PRs to clean up some of the stuff in smaller chunks, but I want to have this here for discussion.

Scrolling through the changes I now realize that \OC\Files\Storage\Storage extends \OCP\Files\Storage\IStorage and adds parameters to some of its functions. That creates a ton of broken interdependencies.

Maybe it makes more sense to start over ... I'll need to let this sink in ...

@PVince81
Copy link
Contributor

Hmm, I thought IStorage and Storage were the same thing, because Storage didn't have the "I" needed to add it

@labkode
Copy link
Member

labkode commented Sep 16, 2016

@butonic Thank you for taking this. There is also the same problem with the ICache, there are lot of code that relies on the assumption that the ICache implementation will implement the ArrayAccess interface, but that it is not always the case, or at least it should be enforced by the ICache interface.
We are preparing a doc to give you feedback on these interfaces, I think Kuba already discused with @butonic these days.

@DeepDiver1975 DeepDiver1975 added this to the 9.2 milestone Sep 16, 2016
@DeepDiver1975 DeepDiver1975 force-pushed the use-public-istorage-interface branch from 6fb0bc7 to 1da923b Compare September 29, 2016 07:40
@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

Close this experimental PR ?
Setting to backlog for now

@PVince81 PVince81 modified the milestones: backlog, 10.0 Apr 6, 2017
@DeepDiver1975 DeepDiver1975 deleted the use-public-istorage-interface branch February 15, 2018 09:26
@lock
Copy link

lock bot commented Aug 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 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