-
Notifications
You must be signed in to change notification settings - Fork 84
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
Seekable tarfs #669
base: main
Are you sure you want to change the base?
Seekable tarfs #669
Conversation
cc @giuseppe This |
Note to self: using linux's non-POSIX record locks and a file-reopening scheme would allow the |
@hdonnay, the Some high-level information is present in the original PR that added support for it: containers/storage#775 Out of curiosity: how are you going to use these formats from Claire? |
ah, okay. Well I feel like I've got a handle on it, so I can help with the documentation when the time comes. Clair can use this to reduce disk utilization at the cost of latency. This would be helpful for large layers where contents are full of content that our indexers don't care about. |
4e13bb1
to
71c74b0
Compare
ab7f17d
to
6299c8c
Compare
a0d6d5b
to
ed45eb8
Compare
27e7e43
to
0deabc8
Compare
cb576e9
to
ab5bd06
Compare
Decided to punt any The tricky things for that future PR will be:
|
This is also going to be easier to review commit-wise, sorry. |
ea54656
to
375cb61
Compare
375cb61
to
5b1da3c
Compare
cbbf4be
to
6329f11
Compare
6329f11
to
9fac96e
Compare
4ed05e3
to
32ee97e
Compare
32ee97e
to
e08d13d
Compare
Codecov ReportAttention:
... and 3 files with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
e08d13d
to
226b09c
Compare
The implementation in #1061 addresses most of these structural problems. |
Going to re-draft this until after #1061 and the subsequent Scanner touching to be able to avoid all of the call-side rewrites that are currently in this PR. |
e9554b8
to
ae4bd91
Compare
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
With the `http.DefaultClient` now being poisoned, there's no "good" http.Client for a test to have. This change removes the argument and uses a single, package-internal client. Test-Fail: OK Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Test-Fail: OK Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
ae4bd91
to
d444ddc
Compare
This change adds support for some schemes of encoding a table of contents and allowing individual files to be accessed independently. It breaks the API by adding a "size" parameter (like the archive/zip package) but attempts to autodetect when given a nonsense value. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
d444ddc
to
8f53edd
Compare
This adds support for variants of layers that don't need a whole layer decompressed.
TODO:
httpreader
buffering