Repository navigation
vendor: use github.com/klauspost/pgzip instead of compress/gzip - #543
Conversation
|
Awesome, LGTM. Just one request for the commit message. Could you add some info which additional packages need to be vendored by users of containers/image: This will hopefully make vendoring containers/image easier. |
|
let's not merge yet. I will prepare a WIP PR for Skopeo that uses this PR (as well as the coming PR for containers/storage) so we can play better with it |
|
Nice work @giuseppe |
|
WIP PR for skopeo here: podman-container-tools/skopeo#572 |
|
I think we should put all this into a CRI-O PR and make sure the e2e pass :) |
b6e8c3e to
a3e3e5f
Compare
yes sir! Done here: cri-o/cri-o#1963 :-) |
Signed-off-by: Giuseppe Scrivano <[email protected]>
8687719 to
75fee2e
Compare
|
it fails to build Skopeo as Skopeo is not yet vendoring "github.com/klauspost/pgzip" |
|
LGTM (podman-container-tools/skopeo#572 passed) |
|
LGTM, lets merge since this passes the CRI-O Tests. |
|
@giuseppe tests are failing? |
That's because the CI uses Skopeo for testing which doesn't yet vendor the pgzip library. However, podman-container-tools/skopeo#572 passes so we can safely merge this branch. |
mtrmac
left a comment
There was a problem hiding this comment.
ACK overall. (Please merge this and a re-vendored version podman-container-tools/skopeo#572 together to make sure the tests don’t get out of sync.)
75fee2e to
52f4a18
Compare
from my tests, I've seen a net improvement of around 30% on the wall clock time in decompressing layers. Signed-off-by: Giuseppe Scrivano <[email protected]>
52f4a18 to
80be5c5
Compare
|
LGTM |
|
@vrothberg tests aren't too happy :^( |
That's because the CI uses Skopeo which does not yet have this change vendored. It's a bit of a chicken-egg problem for such changes in c/image. @giuseppe opened a PR at Skopeo to check whether it likes this one here: podman-container-tools/skopeo#572 As podman-container-tools/skopeo#572 is green, I think we can merge it. |
|
Merging (agreed with @giuseppe). |
This reverts commit a5c3a7f. Per containers#543 (comment) , this was not actually necessary, so let's not keep it around as a riddle for future readers / an artifact for copy&pasting into other projects. Signed-off-by: Miloslav Trmač <[email protected]>
This reverts commit a5c3a7f. Per containers#543 (comment) , this was not actually necessary, so let's not keep it around as a riddle for future readers / an artifact for copy&pasting into other projects. Signed-off-by: Miloslav Trmač <[email protected]>
from my tests, I've seen a net improvement of around 30% on the wall
clock time in decompressing layers.
Signed-off-by: Giuseppe Scrivano [email protected]