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

Store Manifest JSON and blobs #107

Merged
merged 2 commits into from
Apr 13, 2024
Merged

Store Manifest JSON and blobs #107

merged 2 commits into from
Apr 13, 2024

Conversation

termoshtt
Copy link
Owner

@termoshtt termoshtt commented Apr 13, 2024

Changes

  • ocipkg get returns error if the container is already downloaded. ocipkg get --overwrite option is added to remove existing.
  • ocipkg get store image manifest as .manifest.json and raw blobs where the contents are stored. For example, ocipkg get ghcr.io/termoshtt/ocipkg/static/rust:fb58644 yields following directory. This helps managing non-tar.gz container including OCI Artifact manifest #78 and Restore oci-archive from locally stored files #44
.
├── .blob
│   └── sha256
│       └── df643e35140fb7ee1c4703b5b14ae10ab9aa7971af0a9bcf8f1212c44a14f270
├── .manifest.json
└── libocipkg_static_rust.a

@termoshtt termoshtt changed the title Support OCI Artifact based on OCI image spec 1.1.0 Store Manifest and blobs Apr 13, 2024
@termoshtt termoshtt changed the title Store Manifest and blobs Store Manifest JSON and blobs Apr 13, 2024
@termoshtt termoshtt marked this pull request as ready for review April 13, 2024 08:34
@termoshtt termoshtt merged commit a33a414 into main Apr 13, 2024
15 checks passed
@termoshtt termoshtt deleted the support-oci-artifact branch April 13, 2024 08:36
@termoshtt termoshtt added the change Change existing functionality. label May 9, 2024
@termoshtt
Copy link
Owner Author

This has been changed by #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Change existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant