Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Handle Adobe lock files (InDesign, Premiere) in classic sync #10367
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
feat: Handle Adobe lock files (InDesign, Premiere) in classic sync #10367
Changes from all commits
153c4c96dff3a4329e240e5ce665e1435d9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 91 in src/libsync/filesystem.cpp
Remove the redundant "static" specifier.
Check warning on line 96 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:96:6 [modernize-use-trailing-return-type]
Check warning on line 105 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:105:31 [modernize-use-trailing-return-type]
Check warning on line 108 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:108:16 [readability-identifier-length]
Check warning on line 112 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:112:20 [cppcoreguidelines-init-variables]
Check warning on line 127 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:127:54 [bugprone-easily-swappable-parameters]
Check warning on line 127 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:127:24 [modernize-use-trailing-return-type]
Check warning on line 136 in src/libsync/filesystem.cpp
Extract this nested conditional operator into an independent statement.
Check warning on line 152 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:152:24 [modernize-use-trailing-return-type]
Check warning on line 154 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:154:21 [cppcoreguidelines-init-variables]
Check warning on line 166 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:166:16 [cppcoreguidelines-init-variables]
Check warning on line 186 in src/libsync/filesystem.cpp
Replace with the version of "std::ranges::find_if" that takes a range.
Check warning on line 187 in src/libsync/filesystem.cpp
Use the init-statement to declare "lockFilePatternFoundIt" inside the if statement.
Check warning on line 227 in src/libsync/filesystem.cpp
Use the init-statement to declare "suffix" inside the if statement.
Check warning on line 243 in src/libsync/filesystem.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 248 in src/libsync/filesystem.cpp
src/libsync/filesystem.cpp:248:18 [modernize-use-trailing-return-type]
Check warning on line 268 in src/libsync/filesystem.cpp
Use the init-statement to declare "targetPath" inside the if statement.
Check warning on line 308 in src/libsync/filesystem.cpp
Replace with the version of "std::ranges::remove_if" that takes a range.
Check warning on line 309 in src/libsync/filesystem.cpp
Replace this erase-remove idiom with a "std::erase_if" call.
Check warning on line 316 in src/libsync/filesystem.cpp
Use the init-statement to declare "splitFilePath" inside the if statement.
Check warning on line 396 in src/libsync/filesystem.cpp
Unmodified variable "rc" of type "int" should be const-qualified.
Check failure on line 454 in src/libsync/filesystem.cpp
Refactor this function to reduce its Cognitive Complexity from 50 to the 25 allowed.
Check warning on line 456 in src/libsync/filesystem.cpp
Unmodified variable "errors" of type "class QList<class QString> *" should be const-qualified.
Check warning on line 461 in src/libsync/filesystem.cpp
Merge this "if" statement with the enclosing one.
Check failure on line 497 in src/libsync/filesystem.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 557 in src/libsync/filesystem.cpp
Use the init-statement to declare "fs" inside the if statement.
Check warning on line 582 in src/libsync/filesystem.cpp
Change type of "stdStrPath" to "std::filesystem::path".
Check failure on line 591 in src/libsync/filesystem.cpp
Add a "default" case to this switch statement.
Check warning on line 776 in src/libsync/filesystem.cpp
"catch" a specific exception type.
Check warning on line 789 in src/libsync/filesystem.cpp
Unmodified variable "errorString" of type "class QString *" should be const-qualified.
Check warning on line 798 in src/libsync/filesystem.cpp
Unmodified variable "destExists" of type "_Bool" should be const-qualified.
Check warning on line 799 in src/libsync/filesystem.cpp
Use the init-statement to declare "destExists" inside the if statement.
Check failure on line 9 in src/libsync/filesystem.h
src/libsync/filesystem.h:9:10 [clang-diagnostic-error]
Check failure on line 36 in src/libsync/filesystem.h
Customize this class' copy constructor to participate in resource management. Customize or delete its copy assignment operator. Also consider whether move operations should be customized.
Check warning on line 135 in src/libsync/filesystem.h
Edit this comment to use the C++ format, i.e. "//".
Check failure on line 386 in src/libsync/syncengine.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 400 in src/libsync/syncengine.cpp
Unmodified variable "r" of type "class OCC::Result<enum OCC::Vfs::ConvertToPlaceholderResult, class QString>" should be const-qualified.
Check warning on line 504 in src/libsync/syncengine.cpp
Replace this declaration by a structured binding declaration.
Check warning on line 505 in src/libsync/syncengine.cpp
Avoid this unnecessary copy by using a "const" reference.
Check failure on line 508 in src/libsync/syncengine.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 512 in src/libsync/syncengine.cpp
Complete the task associated to this "TODO" comment.
Check warning on line 641 in src/libsync/syncengine.cpp
Use the init-statement to declare "excludeFilePath" inside the if statement.
Check warning on line 703 in src/libsync/syncengine.cpp
Unmodified variable "errorCategory" of type "enum OCC::ErrorCategory" should be const-qualified.
Check warning on line 724 in src/libsync/syncengine.cpp
Extract the assignment to "_original" from this expression.
Check warning on line 875 in src/libsync/syncengine.cpp
Extract this nested code block into a separate function.
Check warning on line 920 in src/libsync/syncengine.cpp
Unmodified variable "status" of type "enum OCC::SyncFileItem::Status" should be const-qualified.
Check warning on line 1035 in src/libsync/syncengine.cpp
Unmodified variable "cancel" of type "_Bool" should be const-qualified.
Check warning on line 1147 in src/libsync/syncengine.cpp
Replace this range for-loop by "std::ranges::any_of".
Check failure on line 1156 in src/libsync/syncengine.cpp
Refactor this function to reduce its Cognitive Complexity from 33 to the 25 allowed.
Check failure on line 1166 in src/libsync/syncengine.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check failure on line 1170 in src/libsync/syncengine.cpp
Refactor this code to not nest more than 3 if|for|do|while|switch statements.
Check warning on line 1180 in src/libsync/syncengine.cpp
Use the init-statement to declare "filesDeletedThresholdExceeded" inside the if statement.
Check failure on line 1189 in src/libsync/syncengine.cpp
"std::forward" is never called on this forwarding reference argument.
Check warning on line 1214 in src/libsync/syncengine.cpp
Unmodified unnamed variable of type "_Bool" should be const-qualified.
Check warning on line 1231 in src/libsync/syncengine.cpp
Unmodified variable "cancel" of type "_Bool" should be const-qualified.
Check warning on line 1231 in src/libsync/syncengine.cpp
Remove the redundant return type of this lambda.
Check warning on line 1281 in src/libsync/syncengine.cpp
Unmodified variable "value" of type "_Bool" should be const-qualified.
Check warning on line 1325 in src/libsync/syncengine.cpp
Replace this loop with a "std::erase_if" call.
Check warning on line 1338 in src/libsync/syncengine.cpp
Rename this identifier to be shorter or equal to 31 characters.
Check warning on line 1338 in src/libsync/syncengine.cpp
Unmodified variable "reliable" of type "_Bool" should be const-qualified.
Check warning on line 1576 in src/libsync/syncengine.cpp
Avoid this unnecessary copy by using a "const" reference.
Check failure on line 11 in test/testexcludedfiles.cpp
test/testexcludedfiles.cpp:11:10 [clang-diagnostic-error]
Check failure on line 6 in test/testlockfile.cpp
test/testlockfile.cpp:6:10 [clang-diagnostic-error]
Uh oh!
There was an error while loading. Please reload this page.