feat: Document IAppManager::getAppNamespace new method#14799
feat: Document IAppManager::getAppNamespace new method#14799
Conversation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| ``\OCP\App\IAppManager`` was extended with two new methods related to application namespaces: | ||
| - ``getAppNamespace(string $appId): string`` returns the namespace for an application from its appid | ||
| - ``getAppFromNamespace(string $className): ?string`` does the opposite. Less common but it is used in guests application. | ||
|
|
||
| This replaces a static method in ``\OCP\AppFramework\App`` which is now deprecated. |
There was a problem hiding this comment.
This code needs a dedicated section, not just the announcement. We will clear the New in this release page after branch-off. See the other items on this page.
There was a problem hiding this comment.
There is no existing IAppManager documentation, so one has to be started. I suggest to put it under https://docs.nextcloud.com/server/latest/developer_manual/app_development/index.html.
There was a problem hiding this comment.
I do not understand what this means.
The existing IAppManager documentation is at https://nextcloud-server.netlify.app/classes/ocp-app-iappmanager
Linked in https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/api.html#php-public-api
Why would we duplicate this in this repository?
I thought that after branch-off this would be moved to release-notes/upgrade_to_34.rst, what is the actual process?
There was a problem hiding this comment.
The class reference is great for diving into details, but it doesn't tell you how and why a class should be used.
Not every app developer is a senior with years of experience with Nextcloud. They don't know how things work just by looking at documentation of classes.
This section was recently reorganized because we only had the diff and not the current state. New will not be moved into a page. We want to get away from this heap of diffs to a comprehensive manual for developers.
I'll try to document this goal better.
📖 Documentation Preview📄 2 changed documentation pagesLast updated: Thu, 07 May 2026 16:54:11 GMT |
☑️ Resolves
🖼️ Screenshots
✅ Checklist
codespellor similar and addressed any spelling issues