-
Notifications
You must be signed in to change notification settings - Fork 3
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
RemoveBlob / RemoveDescriptors #84
Comments
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 30, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified to accept `OptUpdateNoTemp`. When this is set only updates that do not require a tempdir will succeed. Fixes sylabs#84
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 30, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified to accept `OptUpdateNoTemp`. When this is set only updates that do not require a tempdir will succeed... without creating a tempDir. Fixes sylabs#84
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Oct 1, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified so that cache directory creation is lazy. Fixes sylabs#84
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Oct 1, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified so that cache directory creation is lazy. Fixes sylabs#84
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Oct 1, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified so that cache directory creation is lazy. Fixes sylabs#84
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Oct 1, 2024
Implement `RemoveBlob` to remove a blob from the SIF without updating the RootIndex. Implement `RemoveDescriptors` to remove specified descriptors from the SIF RootIndex, and clean up any orphan blobs. In order that `RemoveDescriptors` can be run without requiring a temp dir, the update code is modified so that cache directory creation is lazy. Fixes sylabs#84
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following #80, implement functions on OCIFileImage that allow blobs and descriptors to be removed from an OCI-SIF.
It would be good to follow the ggcr layout.Path methods:
The text was updated successfully, but these errors were encountered: