Move interfaces of files_* apps to OCP
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
Many files related apps also rely on functionality of apps like files_versions, files_sharing, files_trashbin and so on.
They use an interface that is only in OCA which does not give any stability guarantees and also makes it a lot harder to use as one has to manually create stubs for those classes to achieve type safety.
Describe the solution you'd like
The interfaces of those apps should be moved to OCP and any private methods that apps rely on should be added to the interfaces.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the interfaces used by files_versions, files_sharing, files_trashbin, and related files_* apps, then compare them with the corresponding OCA interfaces. Identify which private methods consuming apps depend on and determine the OCP API boundaries. Done means the required interfaces are provided by OCP with the necessary methods and consuming apps no longer need manually created stubs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100