-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adjust scanner flags #37960
Adjust scanner flags #37960
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Codecov Report
@@ Coverage Diff @@
## master #37960 +/- ##
============================================
- Coverage 64.71% 64.71% -0.01%
+ Complexity 19444 19442 -2
============================================
Files 1286 1286
Lines 76021 76020 -1
Branches 1336 1336
============================================
- Hits 49197 49196 -1
Misses 26430 26430
Partials 394 394
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
The scanner's update method will reuse the size if possible. REUSE_ONLY_FOR_FILES flag will only be applicable to etag, not size Links to #37218
78fb854
to
6554f5a
Compare
Codecov Report
@@ Coverage Diff @@
## master #37960 +/- ##
============================================
+ Coverage 64.70% 64.71% +0.01%
+ Complexity 19445 19442 -3
============================================
Files 1286 1286
Lines 76034 76020 -14
Branches 1336 1336
============================================
Hits 49196 49196
+ Misses 26444 26430 -14
Partials 394 394
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Kudos, SonarCloud Quality Gate passed!
|
The scanner's update method will reuse the size if possible.
REUSE_ONLY_FOR_FILES flag will only be applicable to etag, not size
Links to #37218
Description
Fixes some problems detected with GDrive due to #37218 . There are also some changes pending in the GDrive storage regarding the handling of google document files.
Might be related to https://github.com/owncloud/enterprise/issues/4129
For the GDrive case, the folder was showing "Pending" with a size of -1 in the DB if the folder contained a google document. This should be fixed with this patch, but the etag still changes for the folder because the gdrive implementation detects a file newer with mtime newer than the folder (google doesn't update the mtime of the folder)
I haven't tested yet for https://github.com/owncloud/enterprise/issues/4129 because the step to reproduce aren't clear
Related Issue
https://github.com/owncloud/enterprise/issues/4129
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: