-
Notifications
You must be signed in to change notification settings - Fork 801
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
Migrate old configs #5362
Migrate old configs #5362
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5362 +/- ##
==========================================
- Coverage 58.24% 57.99% -0.25%
==========================================
Files 141 139 -2
Lines 18008 17728 -280
==========================================
- Hits 10488 10282 -206
+ Misses 7520 7446 -74
|
c6b437a
to
9e28d16
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small readability comments
9e28d16
to
aa3ce7a
Compare
Use QStandardPaths::writableLocation instead. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
…hange of the client. Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
Signed-off-by: Camila <hello@camila.codes>
aa3ce7a
to
a3e08aa
Compare
SonarCloud Quality Gate failed. |
AppImage file: nextcloud-PR-5362-a3e08aae3b6b9ac0e198ce8523f113c0a4959219-x86_64.AppImage |
Due to changes in the config file name, there has been issues when the desktop client.
We already had code that did migrate configs from different folders, now this change would check for previous config files independent of the name. It will back up the previous config and rename the file to the new application name when there is an update of the client version.
I am sure there might be drawbacks to this. wdyt?
There is already a notification in place to tell the user there is a previous config.
Previous config:
Notification:
New config:
After another upgrade, it should proceed to doing backups: