-
Notifications
You must be signed in to change notification settings - Fork 377
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
base: main
Are you sure you want to change the base?
Commits on Jul 12, 2022
-
Add reader/writer for oci-archive multi image support
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]>
Configuration menu - View commit details
-
Copy full SHA for 44465c9 - Browse repository at this point
Copy the full SHA 44465c9View commit details
Commits on Oct 6, 2022
-
Merge branch 'multi-manifest' of https://github.com/umohnani8/image i…
…nto multi-manifest-poc Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48304c0 - Browse repository at this point
Copy the full SHA 48304c0View commit details -
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93bf314 - Browse repository at this point
Copy the full SHA 93bf314View commit details -
Remove uses of deprecated io/ioutil
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e101311 - Browse repository at this point
Copy the full SHA e101311View commit details -
Remove uses of deprecated pkg/errors
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d4d96b - Browse repository at this point
Copy the full SHA 6d4d96bView commit details -
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ad8a9c - Browse repository at this point
Copy the full SHA 0ad8a9cView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1772f1b - Browse repository at this point
Copy the full SHA 1772f1bView commit details -
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a51797 - Browse repository at this point
Copy the full SHA 5a51797View commit details -
Clean up temporary directories on failure paths
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b703a72 - Browse repository at this point
Copy the full SHA b703a72View commit details -
Don't get a layout reference we are not going to use. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b925b8a - Browse repository at this point
Copy the full SHA b925b8aView commit details -
Fix source index values in Reader.List
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0600312 - Browse repository at this point
Copy the full SHA 0600312View commit details -
Simplify ociReference.getManifestDescriptor
Eliminate an unnecessary "d" variable. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60b5eaf - Browse repository at this point
Copy the full SHA 60b5eafView commit details -
Reorganize ociReference.getManifestDescriptor
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]>
Configuration menu - View commit details
-
Copy full SHA for 4ea3b10 - Browse repository at this point
Copy the full SHA 4ea3b10View commit details -
Use a switch in ociReference.getManifestDescriptor
... and explicitly handle an impossible situation Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 776242c - Browse repository at this point
Copy the full SHA 776242cView commit details -
Fix documentation of oci/archive.NewReader*
Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03d7fea - Browse repository at this point
Copy the full SHA 03d7feaView commit details -
Split openRef from newImageSource
We are going to use it in LoadManifestDescriptorWithContext. Should not change behavior. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 812797d - Browse repository at this point
Copy the full SHA 812797dView commit details -
Reimplement oci/archive.LoadManifestDescriptorWithContext on top of a…
…rchive.Reader ... and drop the now redundant untar code. Signed-off-by: Miloslav Trmač <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7dc1eb - Browse repository at this point
Copy the full SHA b7dc1ebView commit details