compose/pkg/remote
Nicolas De Loof 7e5cddad37 fix(oci): tell a null "manifests" from a list, and report a host failure as such
A manifest with no media type was taken for an image index when it had a
"manifests" key, even when its value is null. It is now an index only when
that value is a list.

writeCacheEntryManifest reported every failure to create the directory
holding the manifest as an invalid OCI artifact. Only the collision with a
file of the artifact of that name is one; any other failure (missing
directory, permission, full disk) is the host's and is now returned as it is.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-12 10:43:27 +01:00
..
cache.go
cache_darwin.go
cache_unix.go
cache_windows.go
git.go fix(git): check a commit out aside, and keep the checkouts in a directory of the cache for Git 2026-11-09 14:38:36 +01:00
git_cache_test.go fix(git): check a commit out aside, and keep the checkouts in a directory of the cache for Git 2026-11-09 14:38:36 +01:00
git_test.go
oci.go fix(oci): tell a null "manifests" from a list, and report a host failure as such 2026-11-12 10:43:27 +01:00
oci_cache_entry_test.go fix(oci): tell a null "manifests" from a list, and report a host failure as such 2026-11-12 10:43:27 +01:00
oci_cache_test.go fix(oci): take a directory of the cache for an entry only when it holds the manifest of its digest 2026-11-11 08:52:55 +01:00
oci_test.go