Skip to content

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

Merged
come-nc merged 5 commits into
masterfrom
fix/remove-mountconfig-skiptest
May 19, 2026
Merged

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

Conversation

@come-nc

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

Copy link
Copy Markdown
Contributor
  • 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
@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
come-nc force-pushed the fix/remove-mountconfig-skiptest branch from 1cfd87a to b56c5d7 Compare May 12, 2026 11:47
@come-nc

come-nc commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

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
@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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not really, it’s moved around code mostly.

come-nc added 5 commits May 18, 2026 14:11
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
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>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc
come-nc force-pushed the fix/remove-mountconfig-skiptest branch from 5ed85f4 to 7439b3d Compare May 18, 2026 12:11
@come-nc
come-nc merged commit dfec8db into master May 19, 2026
239 of 252 checks passed
@come-nc
come-nc deleted the fix/remove-mountconfig-skiptest branch May 19, 2026 11:07
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 11, 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.

3 participants