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 re-implement cache folder detection 2023-11-02 11:16:35 +01:00
cache_darwin.go add a copyright notice with original author 2023-11-02 11:16:35 +01:00
cache_unix.go feat(os): add FreeBSD support 2025-07-11 10:44:45 +02:00
cache_windows.go add a copyright notice with original author 2023-11-02 11:16:35 +01:00
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 fix(git): Add validation for Git subdirectory paths to prevent traversal 2025-10-30 10:08:29 +01:00
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 Test to check writeComposeFile detects invalid OCI artifact 2025-10-22 20:09:32 +02:00