-
Notifications
You must be signed in to change notification settings - Fork 240
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
Add bagfile splitting support to storage_options and Writer #182
Add bagfile splitting support to storage_options and Writer #182
Conversation
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!
Note to add should_split_bagfile
as a mocked method to the unit tests. (You probably already did that).
@Karsten1987 |
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.
Could the new function be private or protected, if yes -> move to private, if no -> it needs a test.
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.
a few nitpicks on top of thomas' comments.
This PR has to be rebased on top of master. |
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
d0f240a
to
f995257
Compare
@Karsten1987 rebased |
This should fix the issue on Windows Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
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.
this looks good to me. Just a little nitpick about naming convention.
Signed-off-by: Zachary Michaels <zmichaels11@gmail.com>
thanks for iterating with me over this. |
Refactored changes in PR #171
This is part of an effort to rework PR #158 into multiple, smaller PRs.
Changes
max_bagfile_size
tostorage_options
. This is used to indicate when a bagfile should be split. A default value of 0 indicates no splitting.should_split_bagfile
toWriter
. This will be used byWriter
to determine when a bagfile should be split.Issues