compose/pkg/remote
Nicolas De Loof d6e26f427f refactor: split ociRemoteLoader.Load pull and index resolution
Load (cognitive complexity 48) mixed the enable/offline guards with
the artifact pull, the cache check and the image-index indirection.
The pull path moves to pullComposeArtifact and the index-to-manifest
resolution to resolveComposeManifest. Load reads as: guards, cache
lookup, pull on miss.

No behavior change, including the last-matching-manifest-wins loop
and the silent cache hit on a non-NotExist stat error.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-18 13:37:48 +02:00
..
cache.go
cache_darwin.go
cache_unix.go
cache_windows.go
git.go golangci-lint: use gci formatter instead of goimports 2025-12-01 12:21:50 +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 refactor: split ociRemoteLoader.Load pull and index resolution 2026-08-18 13:37:48 +02:00
oci_test.go Test to check writeComposeFile detects invalid OCI artifact 2025-10-22 20:09:32 +02:00