Skip to content

fix(files_external): Move MountConfig to non-static services#60318

Open
come-nc wants to merge 5 commits into
masterfrom
fix/remove-mountconfig-skiptest
Open

fix(files_external): Move MountConfig to non-static services#60318
come-nc wants to merge 5 commits into
masterfrom
fix/remove-mountconfig-skiptest

Conversation

@come-nc
Copy link
Copy Markdown
Contributor

@come-nc come-nc commented May 12, 2026

  • Resolves: #

Summary

Gets rid of ugly static class.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@come-nc come-nc added this to the Nextcloud 34 milestone May 12, 2026
@come-nc come-nc self-assigned this May 12, 2026
@come-nc come-nc added 2. developing Work in progress technical debt 🧱 🤔🚀 labels May 12, 2026
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/remove-mountconfig-skiptest branch from bb527f0 to b81d88f Compare May 12, 2026 09:28
@come-nc come-nc changed the title fix(files_external): Move MountConfig to non-static class MountConfigService fix(files_external): Move MountConfig to non-static services May 12, 2026
come-nc added 3 commits May 12, 2026 13:46
They were always skipped and the tested class does not exist.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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/remove-mountconfig-skiptest branch from 1cfd87a to b56c5d7 Compare May 12, 2026 11:47
@come-nc
Copy link
Copy Markdown
Contributor Author

come-nc commented May 12, 2026

It feels like all code related to legacy mount.json file, SFTP_Key backend class, and SMB_OC backend class could actually be deleted as all that was deprecated a long time ago (2015).
Not sure whether it’s possible to have non-migrated configurations for those.
But I’m not doing that in this PR, it can be a follow-up.

@come-nc come-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels May 12, 2026
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/remove-mountconfig-skiptest branch from 00637d9 to 5ed85f4 Compare May 12, 2026 14:26
@come-nc come-nc marked this pull request as ready for review May 12, 2026 14:26
@come-nc come-nc requested a review from a team as a code owner May 12, 2026 14:26
@come-nc come-nc requested review from Altahrim, CarlSchwan, icewind1991, leftybournes, salmart-dev and susnux and removed request for a team May 12, 2026 14:26
Comment on lines +6 to +9
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
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.

isnt this a new file?

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.

3 participants