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
Improves the copy of directories from groups to multigroups #12516
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ Add the copy_directory function that recursively copies subdirectories + Add function validate_shared_files which recursively validates files in directories and subdirectories - Remove the recursion in the MergeAppendFile function, it became unnecessary
TomasTurina
reviewed
Mar 4, 2022
- Remove "files" from c_group function comments + Move some lines + Add return function to copy_directory
…ed_files logs. And set ignored=1 after checkBinaryFile
Added validate_shared_file UT Added copy_directory UT
…es_files function. Adds a UT case.
…es and copy_directory functions. Adds UTs for those cases.
Moves purge_group function call to copy_directory. Fixes the UTs of c_multi_group and copy_directory.
cborla
reviewed
Mar 15, 2022
cborla
previously approved these changes
Mar 15, 2022
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.
LGTM
TomasTurina
previously approved these changes
Mar 15, 2022
…d_files and copy_directory functions. And prevents flooding when group files exceed the maximum size.
cborla
approved these changes
Mar 16, 2022
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.
LGTM
TomasTurina
approved these changes
Mar 16, 2022
vikman90
approved these changes
Mar 17, 2022
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This PR allows the copying of files from group subfolders when multigroups are created. Also adds validation to files to be shared to agents within group subfolders:
Tests