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

move tool logs to the front of archive #217

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

rbcrwd
Copy link
Contributor

@rbcrwd rbcrwd commented Apr 10, 2024

This moves the tool's logs to the front of the tar archive rather than the tail. As tar is a stream format, having them at the tail ends up requiring that automation read the archive twice: once to gather details crucial to routing and parsing the data it contains, and once to actually parse the data.

Most solutions will likely still want to read archives twice in order to handle ones generated before this change, but at least they can terminate the first pass when they finish parsing the log file, thus minimizing waste.

Pierre-Gronau-ndaal and others added 5 commits March 10, 2024 16:12
This moves the tool's logs to the front of the tar archive rather than
the tail. As tar is a stream format, having them at the tail ends up
requiring that automation read the archive twice: once to gather details
crucial to routing and parsing the data it contains, and once to actually
parse the data.

Most solutions will likely still want to read archives twice in order to
handle ones generated before this change, but at least they can
terminate the first pass when they finish parsing the log file, thus
minimizing waste.
@rbcrwd
Copy link
Contributor Author

rbcrwd commented Apr 12, 2024

This addresses bug #216

@tclahr tclahr changed the base branch from main to develop April 15, 2024 11:35
@tclahr tclahr merged commit 1ed4fb2 into tclahr:develop Apr 15, 2024
1 check failed
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.

None yet

3 participants