Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Oct 28, 2024

@nickvergessen
Copy link
Member

  • OCP code must never mention NCT. It can not require it as an argument, constant or return something from NCT.
  • NCT will be added to the nextcloud-deps/OCP package for easier testing with psalm

@ArtificialOwl ArtificialOwl force-pushed the feat/48891/nct-namespace branch from 44ea69c to b5e9d6c Compare November 6, 2024 10:16
@ArtificialOwl
Copy link
Member Author

  • OCP code must never mention NCT. It can not require it as an argument, constant or return something from NCT.

    • NCT will be added to the nextcloud-deps/OCP package for easier testing with psalm

added to documentation

<https://nextcloud-server.netlify.app/>`_ for further details.


PHP testing API
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds like this is about API for testing not API that is in testing state.
Maybe "Unstable PHP API"? As "unstable" is a more common term for this kind of API in general?

(At least for me "testing" is more like we provide our \Test namespace)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was wondering similarly, also for the lib/testing/ folder in Server. Other options could be Experimental or Preview (colliding with previews/thumbnails)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agree on those points, but from previous vocal discussions:

  • testing is above unstable (at least from debian's point of view)
  • 'Experimental' would means NCE to be the name of the namespace, which is an already used acronym,
  • 'Preview' would also conflict,
  • 'devel' can be confusing too, as it can be interpreted as API for development ...

unstable might the only valid term that does not conflict that much and also reflect the 'unstable'/'prone to changes'

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, after discussion with @provokateurin, testing have been renamed to unstable.

Files location: /lib/unstable/
namespace: NCU\

@ArtificialOwl ArtificialOwl force-pushed the feat/48891/nct-namespace branch from ec1b2e3 to 21dcbe6 Compare November 7, 2024 18:58
@ArtificialOwl ArtificialOwl changed the title NCT testing namespace NCU unstable namespace Nov 7, 2024
Signed-off-by: Maxence Lange <[email protected]>
@ArtificialOwl ArtificialOwl force-pushed the feat/48891/nct-namespace branch from 21dcbe6 to 7f1ed36 Compare November 7, 2024 20:23
@ArtificialOwl
Copy link
Member Author

squashed, screenshot updated, merged.

@ArtificialOwl ArtificialOwl merged commit 633d170 into master Nov 7, 2024
12 checks passed
@ArtificialOwl ArtificialOwl deleted the feat/48891/nct-namespace branch November 7, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants