Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3668)

Issue 331420043: [dfvfs] Support multiple-member gzip files (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 4 months ago by onager
Modified:
6 years, 3 months ago
Reviewers:
Joachim Metz
CC:
kiddi, log2timeline-dev_googlegroups.com
Visibility:
Public.

Description

[dfvfs] Support multiple-member gzip files

Patch Set 1 #

Total comments: 26

Patch Set 2 : Changes after review #

Total comments: 14

Patch Set 3 : Changes after review #

Patch Set 4 : Changes after review #

Total comments: 30

Patch Set 5 : Changes after review #

Patch Set 6 : Cache decompressor state to improve sequential read perf #

Total comments: 25

Patch Set 7 : Changed after review. #

Total comments: 24

Patch Set 8 : Changes after review #

Patch Set 9 : Changes after review #

Total comments: 7

Patch Set 10 : Changes after review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -82 lines) Patch
M dfvfs/compression/zlib_decompressor.py View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M dfvfs/file_io/file_io.py View 1 chunk +1 line, -1 line 0 comments Download
M dfvfs/file_io/gzip_file_io.py View 1 2 3 4 5 6 7 8 9 5 chunks +464 lines, -73 lines 0 comments Download
M dfvfs/file_io/zip_file_io.py View 1 chunk +1 line, -1 line 0 comments Download
M dfvfs/vfs/gzip_file_entry.py View 1 chunk +3 lines, -3 lines 0 comments Download
A test_data/fsevents_000000000000b208 View Binary file 0 comments Download
M tests/file_io/gzip_file_io.py View 1 2 3 4 5 2 chunks +32 lines, -4 lines 0 comments Download

Messages

Total messages: 29
onager
6 years, 4 months ago (2017-12-07 20:46:39 UTC) #1
Joachim Metz
Some initial comments, I need to have a closer look at the member caching and ...
6 years, 4 months ago (2017-12-08 07:04:03 UTC) #2
onager
https://codereview.appspot.com/331420043/diff/1/dfvfs/compression/zlib_decompressor.py File dfvfs/compression/zlib_decompressor.py (right): https://codereview.appspot.com/331420043/diff/1/dfvfs/compression/zlib_decompressor.py#newcode34 dfvfs/compression/zlib_decompressor.py:34: On 2017/12/08 07:04:02, Joachim Metz wrote: > - white ...
6 years, 4 months ago (2017-12-09 15:20:31 UTC) #3
onager
Code updated.
6 years, 4 months ago (2017-12-09 15:20:36 UTC) #4
Joachim Metz
Please also issue a PR for this change. https://codereview.appspot.com/331420043/diff/20001/dfvfs/compression/zlib_decompressor.py File dfvfs/compression/zlib_decompressor.py (right): https://codereview.appspot.com/331420043/diff/20001/dfvfs/compression/zlib_decompressor.py#newcode32 dfvfs/compression/zlib_decompressor.py:32: """Data ...
6 years, 3 months ago (2017-12-25 09:15:04 UTC) #5
onager
Code updated.
6 years, 3 months ago (2017-12-27 14:50:29 UTC) #6
onager
https://codereview.appspot.com/331420043/diff/20001/dfvfs/compression/zlib_decompressor.py File dfvfs/compression/zlib_decompressor.py (right): https://codereview.appspot.com/331420043/diff/20001/dfvfs/compression/zlib_decompressor.py#newcode32 dfvfs/compression/zlib_decompressor.py:32: """Data passed in past the end of the compressed ...
6 years, 3 months ago (2017-12-27 14:53:00 UTC) #7
onager
Code updated.
6 years, 3 months ago (2017-12-27 14:53:52 UTC) #8
Joachim Metz
https://codereview.appspot.com/331420043/diff/60001/dfvfs/compression/zlib_decompressor.py File dfvfs/compression/zlib_decompressor.py (right): https://codereview.appspot.com/331420043/diff/60001/dfvfs/compression/zlib_decompressor.py#newcode32 dfvfs/compression/zlib_decompressor.py:32: """bytes: Data passed in past the end of the ...
6 years, 3 months ago (2017-12-27 20:06:36 UTC) #9
onager
Code updated.
6 years, 3 months ago (2017-12-27 21:40:12 UTC) #10
onager
I've addressed the comments, but as I was doing so, I realized there's a potential ...
6 years, 3 months ago (2017-12-27 22:00:58 UTC) #11
Joachim Metz
> I'm refactoring this now, so please stand by. Ack, drop me a PTAL when ...
6 years, 3 months ago (2017-12-28 08:07:24 UTC) #12
onager
Code updated.
6 years, 3 months ago (2017-12-28 13:29:29 UTC) #13
onager
On 2017/12/28 13:29:29, onager wrote: > Code updated. PTAL
6 years, 3 months ago (2017-12-28 13:51:28 UTC) #14
Joachim Metz
https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py#newcode11 dfvfs/file_io/gzip_file_io.py:11: from dfvfs.resolver import resolver nit: alphabetical ordering https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py#newcode14 dfvfs/file_io/gzip_file_io.py:14: ...
6 years, 3 months ago (2017-12-28 15:08:41 UTC) #15
Joachim Metz
6 years, 3 months ago (2017-12-28 15:08:42 UTC) #16
onager
Code updated.
6 years, 3 months ago (2017-12-28 15:50:04 UTC) #17
onager
https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py#newcode11 dfvfs/file_io/gzip_file_io.py:11: from dfvfs.resolver import resolver On 2017/12/28 15:08:40, Joachim Metz ...
6 years, 3 months ago (2017-12-28 15:52:40 UTC) #18
Joachim Metz
https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py#newcode158 dfvfs/file_io/gzip_file_io.py:158: self._compressed_data_start) This was the same remark as line 31. ...
6 years, 3 months ago (2017-12-28 15:58:22 UTC) #19
onager
Code updated.
6 years, 3 months ago (2017-12-28 16:15:31 UTC) #20
onager
https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py#newcode158 dfvfs/file_io/gzip_file_io.py:158: self._compressed_data_start) On 2017/12/28 15:58:22, Joachim Metz wrote: > This ...
6 years, 3 months ago (2017-12-28 16:17:39 UTC) #21
Joachim Metz
Some minor remaining nits, but the logic is easier to follow now https://codereview.appspot.com/331420043/diff/100001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py ...
6 years, 3 months ago (2017-12-28 16:23:23 UTC) #22
onager
Code updated.
6 years, 3 months ago (2017-12-28 17:11:57 UTC) #23
onager
https://codereview.appspot.com/331420043/diff/110008/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/110008/dfvfs/file_io/gzip_file_io.py#newcode16 dfvfs/file_io/gzip_file_io.py:16: class _GzipDecompressorState(object): On 2017/12/28 16:23:23, Joachim Metz wrote: > ...
6 years, 3 months ago (2017-12-28 17:12:51 UTC) #24
Joachim Metz
https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py#newcode162 dfvfs/file_io/gzip_file_io.py:162: self._compressed_data_start = self._ReadHeader(file_object) This does not improve the readability. ...
6 years, 3 months ago (2017-12-28 17:18:36 UTC) #25
onager
Code updated.
6 years, 3 months ago (2017-12-28 17:36:34 UTC) #26
onager
https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py#newcode162 dfvfs/file_io/gzip_file_io.py:162: self._compressed_data_start = self._ReadHeader(file_object) On 2017/12/28 17:18:35, Joachim Metz wrote: ...
6 years, 3 months ago (2017-12-28 17:41:12 UTC) #27
Joachim Metz
LGTM https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py File dfvfs/file_io/gzip_file_io.py (right): https://codereview.appspot.com/331420043/diff/150001/dfvfs/file_io/gzip_file_io.py#newcode162 dfvfs/file_io/gzip_file_io.py:162: self._compressed_data_start = self._ReadHeader(file_object) Ack, primary was referring to ...
6 years, 3 months ago (2017-12-28 17:53:28 UTC) #28
onager
6 years, 3 months ago (2017-12-28 20:03:05 UTC) #29
Changes have been merged with master branch. To close the review and clean up
the feature branch you can run: python ./utils/review.py close gzip
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b