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

Backport/5393/stable 3.7 #5403

Merged
merged 7 commits into from
Feb 6, 2023
Merged

Backport/5393/stable 3.7 #5403

merged 7 commits into from
Feb 6, 2023

Conversation

mgallien
Copy link
Collaborator

@mgallien mgallien commented Feb 6, 2023

backport of #5393

done via clang-tidy and use of modernize-use-default-member-init

Signed-off-by: Matthieu Gallien <[email protected]>
done with clang-tidy

run-clang-tidy -p build -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,cppcoreguidelines-pro-type-member-init' -fix

Signed-off-by: Matthieu Gallien <[email protected]>
done with clang-tidy

run-clang-tidy -p build -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,modernize-use-default-member-init' -fix

Signed-off-by: Matthieu Gallien <[email protected]>
done with clang-tidy

run-clang-tidy -p build -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,cppcoreguidelines-init-variables' -fix

Signed-off-by: Matthieu Gallien <[email protected]>
discovered at runtime using valgrind

Signed-off-by: Matthieu Gallien <[email protected]>
done with clang-tidy

run-clang-tidy -p build -header-filter='.*' -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,cppcoreguidelines-pro-type-member-init' -fix

Signed-off-by: Matthieu Gallien <[email protected]>
done via clang-tidy and manual tuning

run-clang-tidy -p build -header-filter='.*' -config="{Checks: '*', CheckOptions: [{key: UseAssignment, value: true}]}" -checks='-*,modernize-use-default-member-init' -fix

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien mgallien added this to the 3.7.0 milestone Feb 6, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 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

28.0% 28.0% Coverage
0.0% 0.0% Duplication

@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-5403-db880a33888a6eac59f948467948dee1a778f2ba-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.

@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #5403 (db880a3) into stable-3.7 (cce1c10) will decrease coverage by 0.02%.
The diff coverage is 61.70%.

Additional details and impacted files
@@              Coverage Diff               @@
##           stable-3.7    #5403      +/-   ##
==============================================
- Coverage       57.98%   57.96%   -0.02%     
==============================================
  Files             141      141              
  Lines           18113    18133      +20     
==============================================
+ Hits            10503    10511       +8     
- Misses           7610     7622      +12     
Impacted Files Coverage Δ
src/common/syncjournaldb.cpp 77.07% <ø> (-0.04%) ⬇️
src/common/utility.cpp 71.47% <ø> (ø)
src/libsync/abstractnetworkjob.cpp 74.40% <ø> (-0.21%) ⬇️
src/libsync/bandwidthmanager.cpp 37.32% <ø> (-1.47%) ⬇️
src/libsync/bulkpropagatorjob.h 50.00% <ø> (ø)
src/libsync/clientsideencryption.h 30.76% <0.00%> (-2.57%) ⬇️
src/libsync/clientsideencryptionjobs.h 0.00% <0.00%> (ø)
src/libsync/creds/httpcredentials.cpp 6.89% <0.00%> (-0.02%) ⬇️
src/libsync/creds/keychainchunk.h 0.00% <0.00%> (ø)
src/libsync/discoveryphase.cpp 78.83% <ø> (ø)
... and 21 more

@mgallien mgallien merged commit 3071c78 into stable-3.7 Feb 6, 2023
@mgallien mgallien deleted the backport/5393/stable-3.7 branch February 6, 2023 15:22
@mgallien mgallien modified the milestones: 3.7.0, 3.7.1 Feb 16, 2023
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.

4 participants