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

NCT testing namespace #12329

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions developer_manual/digging_deeper/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@ PHP public API

The public API is contained in the OCP namespace. See the `OCP API reference
<https://nextcloud-server.netlify.app/>`_ for further details.


PHP testing API
---------------

To avoid releasing incomplete public API, it is possible to release a
testing version of the future API in the NCT namespace, following these rules:

- An API can only live in this testing namespace for one major release,
- Once tested, the API will be removed entirely or moved to the OCP public namespace,
- If the API is not removed, the version from the NCT namespace will be marked as deprecated,
- Deprecated API from the NCT namespace are kept for 2 major releases,
- Code quality, comments, tests and psalm check are expected to be identical to the OCP namespace.

.. note::
- API within the testing namespace might not have documentation other than in-code comments.