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

Backport 0.4: java #440

Merged
merged 3 commits into from Aug 16, 2021
Merged

Backport 0.4: java #440

merged 3 commits into from Aug 16, 2021

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Aug 16, 2021

This backports java fixes.

As described in the OCI image spec[1], whiteout files are used to
indicate file or directory removals. The jar scanner was not considering
file prefixes and instead only looking at the suffixes.

[1]: https://github.com/opencontainers/image-spec/blob/master/layer.md#representing-changes

Backports: quay#409
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This change looks at the magic number if something appears to be a jar
based on the filename.

Backports: quay#435
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
I forgot to increment this when adding the `peek` function. Without it,
layers that failed due to phony jars will never get picked back up.

Backports: quay#438
See-also: quay#435
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay merged commit a6669db into quay:release-0.4 Aug 16, 2021
@hdonnay hdonnay deleted the backport-04/java branch August 16, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant