Skip to content
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

Storage refactoring #10825

Merged
merged 6 commits into from
Oct 5, 2021
Merged

Conversation

nupplaphil
Copy link
Collaborator

@nupplaphil nupplaphil commented Oct 4, 2021

Splitting the IWritableStorage:

  • IWritableStorage for CRUD operations at the storage backend
  • IStorageConfiguration to configure the storage backend

@MrPetovan It wasn't that easy because of the dynamic option fetching and saving, so I had to adapt some parts of Core\StorageManager and Module\Admin\Storage as well

This PR is a dependency for friendica/friendica-addons#1162
FollowUp #10582

@nupplaphil nupplaphil added this to the 2021.12 milestone Oct 4, 2021
@nupplaphil nupplaphil changed the title Feat/storage refactor Storage refactoring Oct 4, 2021
@MrPetovan
Copy link
Collaborator

@MrPetovan It wasn't that easy because of the dynamic option fetching and saving, so I had to adapt some parts of Core\StorageManager and Module\Admin\Storage as well

And yet you still enjoyed it, didn't you?

doc/AddonStorageBackend.md Outdated Show resolved Hide resolved
doc/AddonStorageBackend.md Outdated Show resolved Hide resolved
doc/Addons.md Outdated Show resolved Hide resolved
src/Model/Storage/Filesystem.php Show resolved Hide resolved
doc/Addons.md Outdated Show resolved Hide resolved
@MrPetovan
Copy link
Collaborator

And how the tests are failing with the newly created Exception!

@nupplaphil
Copy link
Collaborator Author

I love my tests :X :D

nupplaphil and others added 5 commits October 5, 2021 20:07
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
@nupplaphil nupplaphil force-pushed the feat/Storage_refactor branch 4 times, most recently from bcee807 to 1993a33 Compare October 5, 2021 18:26
@MrPetovan MrPetovan merged commit 2ff89ba into friendica:develop Oct 5, 2021
@nupplaphil nupplaphil deleted the feat/Storage_refactor branch October 5, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants