Skip to content

fix: Remove deprecated getters in IServerContainer#52848

Merged
provokateurin merged 8 commits into
masterfrom
fix/cleanup-servercontainer
May 19, 2025
Merged

fix: Remove deprecated getters in IServerContainer#52848
provokateurin merged 8 commits into
masterfrom
fix/cleanup-servercontainer

Conversation

@come-nc

@come-nc come-nc commented May 14, 2025

Copy link
Copy Markdown
Contributor
  • Resolves: #

Summary

Remove deprecated getters from IServerContainer which are unused in current known code.
Remove those from Server class implementation, along with some that were already gone from the interface.
Cleaned up share provider factory as it was using some of those.

TODO

  • Fix remaining calls (with rector?)
  • Remove the others
  • Remove the implementation

Checklist

@come-nc come-nc added this to the Nextcloud 32 milestone May 14, 2025
@come-nc come-nc self-assigned this May 14, 2025
@come-nc come-nc added 2. developing Work in progress technical debt 🧱 🤔🚀 labels May 14, 2025
@come-nc

come-nc commented May 15, 2025

Copy link
Copy Markdown
Contributor Author

It’s breaking circles because its share provider is not DI compatible, will have to fix that first.

come-nc added 6 commits May 16, 2025 10:47
… anymore

For now I left the ones which are called from lib/
Next step is to fix all calls and remove those as well.
Also the getters should be removed from the implementation.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
…recated getters

Ideally circles and talk should migrate to calling registerProvider and
 core would not need to use their OCA classes like currently.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
…ed from public interface

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
…ests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/cleanup-servercontainer branch from 3c23ffa to 2419f4b Compare May 16, 2025 08:49
This is to avoid issues if the circles app is disabled but you still
 have circles shares in your DB

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@codecov

codecov Bot commented May 16, 2025

Copy link
Copy Markdown

❌ We are unable to process any of the uploaded JUnit XML files. Please ensure your files are in the right format.

@come-nc come-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 16, 2025
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/cleanup-servercontainer branch from 9c8f493 to 70ef0a8 Compare May 16, 2025 09:48
@come-nc come-nc marked this pull request as ready for review May 16, 2025 10:22
@come-nc come-nc requested a review from a team as a code owner May 16, 2025 10:22
@come-nc come-nc requested review from artonge, provokateurin, skjnldsv and yemkareems and removed request for a team May 16, 2025 10:22
@come-nc

come-nc commented May 16, 2025

Copy link
Copy Markdown
Contributor Author

Once this is merged we can merge nextcloud/circles#1996 on circles side to fix compatibility.

@come-nc come-nc requested a review from susnux May 16, 2025 10:23

@susnux susnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Huge 🧹

@provokateurin provokateurin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔥

@provokateurin provokateurin merged commit 6b4f5c5 into master May 19, 2025
219 of 232 checks passed
@provokateurin provokateurin deleted the fix/cleanup-servercontainer branch May 19, 2025 05:02
@susnux susnux added the pending documentation This pull request needs an associated documentation update label May 19, 2025
@susnux

susnux commented May 19, 2025

Copy link
Copy Markdown
Contributor

@come-nc remember to document the removal in the documentstion

@come-nc

come-nc commented May 19, 2025

Copy link
Copy Markdown
Contributor Author

pending documentstion

@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@come-nc come-nc removed the pending documentation This pull request needs an associated documentation update label May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants