Skip to content

Conversation

@i2h3
Copy link
Collaborator

@i2h3 i2h3 commented Nov 4, 2025

Needs a back port to stable-4.0 after passing and approval.

@i2h3 i2h3 added this to the 4.0.2 milestone Nov 4, 2025
@i2h3 i2h3 self-assigned this Nov 4, 2025
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 💻 Desktop Clients team Nov 4, 2025
@i2h3 i2h3 force-pushed the feature/9007-file-provider-database branch from 7514eb1 to 5bf76e6 Compare November 4, 2025 09:36
@i2h3 i2h3 enabled auto-merge November 4, 2025 09:36
@i2h3 i2h3 requested a review from Copilot November 4, 2025 09:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the file provider utility functions by extracting a common helper function and extends debug archive functionality to include database files. The changes improve code reusability and enhance debugging capabilities by collecting .realm database files from file provider domains.

  • Extracted fileProviderDomainsSupportDirectory() as a shared helper function
  • Refactored fileProviderDomainSupportDirectory() to use the new helper
  • Added functionality to include .realm database files in debug archives

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/gui/macOS/fileproviderutils.h Added declaration for new helper function fileProviderDomainsSupportDirectory()
src/gui/macOS/fileproviderutils_mac.mm Extracted common directory navigation logic into fileProviderDomainsSupportDirectory() and refactored existing function to reuse it
src/gui/generalsettings.cpp Added logic to collect and archive .realm database files from file provider domains

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…9007).

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
@i2h3 i2h3 force-pushed the feature/9007-file-provider-database branch from 5bf76e6 to 989d8ac Compare November 4, 2025 10:59
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Artifact containing the AppImage: nextcloud-appimage-pr-9016.zip

Digest: sha256:dc40e4b446ea36786a778893d4b6eed3f0977faa41451beb58db66e6b5969d8c

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@i2h3
Copy link
Collaborator Author

i2h3 commented Nov 4, 2025

/backport to stable-4.0

@i2h3 i2h3 merged commit 06a3c87 into master Nov 4, 2025
20 checks passed
@i2h3 i2h3 deleted the feature/9007-file-provider-database branch November 4, 2025 11:39
@github-project-automation github-project-automation bot moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 💻 Desktop Clients team Nov 4, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)
23 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@mgallien mgallien modified the milestones: 4.0.2, 4.1.0 Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants