Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve macOS Sparkle updater #5468

Merged
merged 15 commits into from
Jul 22, 2023
Merged

Improve macOS Sparkle updater #5468

merged 15 commits into from
Jul 22, 2023

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Feb 23, 2023

Our current implementation of the sparkle updater is not optimal. It does not communicate with our Qt GUI at all which leads to things like the update status QLabel in the settings window not being updated, and the "Check for updates" button being permanently disabled. Additionally, our handling of edge cases such as the application not being put in the Applications folder is not good

This PR addresses these issues and improves our integration with the updater; it also fixes several internal updater and UI bugs along the way

Fixes #5429

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ clang-tidy found issue(s) with the introduced code (1/1)

src/gui/updater/sparkleupdater.h Outdated Show resolved Hide resolved
src/gui/updater/sparkleupdater.h Outdated Show resolved Hide resolved
src/gui/updater/sparkleupdater.h Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #5468 (298a0f4) into master (f8b8d44) will increase coverage by 0.03%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5468      +/-   ##
==========================================
+ Coverage   60.05%   60.08%   +0.03%     
==========================================
  Files         145      145              
  Lines       18762    18762              
==========================================
+ Hits        11267    11273       +6     
+ Misses       7495     7489       -6     

see 1 file with indirect coverage changes

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

⚠️ clang-tidy found issue(s) with the introduced code (1/1)

src/gui/updater/sparkleupdater.h Show resolved Hide resolved
src/gui/updater/sparkleupdater.h Show resolved Hide resolved
src/gui/updater/sparkleupdater.h Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Feb 23, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented May 19, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Tegenwind
Copy link

We are still eagerly awaiting this fix, could this please get some attention again? :)

…ate class and owner CPP class

Signed-off-by: Claudio Cambra <[email protected]>
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5468-298a0f4dfb0b6ad7c79f087497c19a5a1aafe653-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

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

@sonarcloud
Copy link

sonarcloud bot commented Jul 22, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@mgallien mgallien disabled auto-merge July 22, 2023 10:56
@mgallien mgallien merged commit 162d9b1 into master Jul 22, 2023
11 of 12 checks passed
@mgallien mgallien deleted the work/sparkle-bumps branch July 22, 2023 10:56
@mgallien
Copy link
Collaborator

/backport to stable-3.9

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.

[Bug]: Automatically check for updates setting has no effect on macOS
4 participants