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

Traits to abstract oci-dir and oci-archive formats #117

Merged
merged 18 commits into from
May 2, 2024
Merged

Conversation

termoshtt
Copy link
Owner

@termoshtt termoshtt commented Apr 25, 2024

Split from #108

  • This PR introduces ImageLayout and ImageLayoutBuilder
  • ImageLayout abstracts a storage which satisfies OCI Image layout, i.e. index.json, blobs/, and oci-layout file
  • In addition, ImageLayout assumes single layout contains single manifest.
  • Refactoring of ocipkg::image::Builder is done in this PR, and refactoring of ocipkg::image::Archive will be next PR.

@termoshtt termoshtt self-assigned this Apr 25, 2024
@termoshtt termoshtt marked this pull request as ready for review May 2, 2024 03:16
@termoshtt termoshtt merged commit 4734704 into main May 2, 2024
15 checks passed
@termoshtt termoshtt deleted the oci-layout-traits branch May 2, 2024 03:16
@termoshtt termoshtt mentioned this pull request May 7, 2024
termoshtt added a commit that referenced this pull request May 7, 2024
Split from #108

- Create `oci_dir.rs` in `ocipkg/src/image` to support `oci-dir` format
(i.e. a directory based on image layout) with `ImageLayout` and
`ImageLayoutBuilder` traits introduced in #117
@termoshtt termoshtt added the add Add new features. label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add Add new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant