You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deleting from a nonexistent OCI layout creates the layout #2377
When I run oras manifest delete or oras blob delete against a path that does not exist, ORAS creates the OCI layout directory and its files (oci-layout and index.json).
This happens even when the requested artifact does not exist. The delete operation unexpectedly modifies the filesystem.
What did you expect to happen?
ORAS should report that the artifact or layout is missing without creating any directories or files.
How can we reproduce it?
Run these commands in a directory where missing-layout does not exist:
Activity