Skip to content

Make ZstdChunkedFooterData write-only#1901

Merged
openshift-merge-bot[bot] merged 5 commits intocontainers:mainfrom
mtrmac:wo-binary-footer
Apr 23, 2024
Merged

Make ZstdChunkedFooterData write-only#1901
openshift-merge-bot[bot] merged 5 commits intocontainers:mainfrom
mtrmac:wo-binary-footer

Conversation

@mtrmac
Copy link
Copy Markdown
Collaborator

@mtrmac mtrmac commented Apr 22, 2024

… as discussed in #1886 .

Cc: @giuseppe

mtrmac added 5 commits April 22, 2024 23:56
This code path is usually never triggered because
the annotations are present; and it was broken until recently.

Remove it to simplify the code and analysis.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
It has no non-test users any more, so decrease the
size of this package (relevant to non-c/storage
callers of c/image).

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Again, decrease the size of the compression code for c/image.

We will simplify this further immediately.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Replace it by individual variables.

Then formally deprecate the ChecksumAnnotationTarSplit field.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
We have the ImageSourceChunk data type, and we already
construct these values, so scan into them directly instead
of having three separate variables for the two bits of data.

Should not change behavior.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@mtrmac mtrmac force-pushed the wo-binary-footer branch from 0403a9c to ab5e270 Compare April 22, 2024 21:56
@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Apr 23, 2024

LGTM
@giuseppe @nalind @saschagrunert PTAL

Copy link
Copy Markdown
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, mtrmac

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 8b0c90d into containers:main Apr 23, 2024
@mtrmac mtrmac deleted the wo-binary-footer branch April 23, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants