-
Notifications
You must be signed in to change notification settings - Fork 380
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
OCI-archive multi-manifest support POC #1677
Draft
mtrmac
wants to merge
17
commits into
containers:main
Choose a base branch
from
mtrmac:multi-manifest-poc
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add reader/writer with helpers to allow podman save/load multi oci-archive images. Allow read oci-archive using source_index to point to the index from oci-archive manifest. Also reimplement ociArchiveImage{Source,Destination} to support this. Signed-off-by: Qi Wang <[email protected]> Signed-off-by: Urvashi Mohnani <[email protected]>
…nto multi-manifest-poc Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
It's unclear what it was intended for, and right now it results in awkwardly worded error messages. Assuming this exists just to minimize duplication in error text, just duplicate (the fixed version) of that error text. Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Don't get a layout reference we are not going to use. Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
Eliminate an unnecessary "d" variable. Signed-off-by: Miloslav Trmač <[email protected]>
to be more similar to docker/internal/tarfile.Reader.ChooseManifestItem: - Move non-error paths to the non-indented main flow - Prefer situations with image specified to the no-data default Signed-off-by: Miloslav Trmač <[email protected]>
... and explicitly handle an impossible situation Signed-off-by: Miloslav Trmač <[email protected]>
Signed-off-by: Miloslav Trmač <[email protected]>
We are going to use it in LoadManifestDescriptorWithContext. Should not change behavior. Signed-off-by: Miloslav Trmač <[email protected]>
…rchive.Reader ... and drop the now redundant untar code. Signed-off-by: Miloslav Trmač <[email protected]>
mtrmac
added a commit
to mtrmac/common
that referenced
this pull request
Oct 6, 2022
Signed-off-by: Miloslav Trmač <[email protected]>
This was referenced Oct 6, 2022
See #1381 (comment) . |
Merged
mtrmac
added a commit
to mtrmac/image
that referenced
this pull request
Sep 10, 2024
Port all tests from containers#1677 , and see what else! Signed-off-by: Miloslav Trmač <[email protected]>
mtrmac
added a commit
to mtrmac/image
that referenced
this pull request
Sep 24, 2024
Port all tests from containers#1677 , and see what else! Signed-off-by: Miloslav Trmač <[email protected]>
mtrmac
added a commit
to mtrmac/image
that referenced
this pull request
Oct 2, 2024
Port all tests from containers#1677 , and see what else! Signed-off-by: Miloslav Trmač <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is #1381 updated to merge on top of current main, + an attempt to resolve review comments, only to have something to try in c/common.