compose/internal
Nicolas De Loof fc55a942e7
Some checks are pending
ci / validate (lint) (push) Waiting to run
ci / validate (relay-lint) (push) Waiting to run
ci / validate (relay-test) (push) Waiting to run
ci / validate (validate-docs) (push) Waiting to run
ci / validate (validate-go-mod) (push) Waiting to run
ci / validate (validate-headers) (push) Waiting to run
ci / validate (validate-mocks) (push) Waiting to run
ci / binary (push) Waiting to run
ci / binary-finalize (push) Blocked by required conditions
ci / bin-image-test (push) Waiting to run
ci / relay-image-test (push) Waiting to run
ci / test (push) Waiting to run
ci / e2e (plugin, oldstable, graphdriver) (push) Waiting to run
ci / e2e (standalone, oldstable, graphdriver) (push) Waiting to run
ci / e2e (plugin, stable, containerd) (push) Waiting to run
ci / e2e (plugin, stable, graphdriver) (push) Waiting to run
ci / e2e (standalone, stable, containerd) (push) Waiting to run
ci / e2e (standalone, stable, graphdriver) (push) Waiting to run
ci / coverage (push) Blocked by required conditions
ci / ci-ok (push) Blocked by required conditions
ci / release (push) Blocked by required conditions
merge / bin-image-prepare (push) Waiting to run
merge / bin-image (push) Blocked by required conditions
merge / relay-image (push) Waiting to run
merge / module-image (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
zizmor / zizmor (push) Waiting to run
refactor: move the config-hash helpers to internal/confighash
ServiceHash, NetworkHash and VolumeHash only serve Compose's own change
detection (the config-hash labels stamped on containers, networks and
volumes); they have no business being part of the exported API of
pkg/compose. Move them, with their tests, to internal/confighash.

The hashes are byte-for-byte unchanged (the golden values test moves with
the code, and `compose config --hash` prints the same output before and
after). The only dependency on the package they came from, a sorted-keys
helper, is replaced by slices.Sorted(maps.Keys(...)).

This removes exported symbols from the /v5 module: compose.ServiceHash,
compose.NetworkHash and compose.VolumeHash.

Part of #14396

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-29 08:20:15 +01:00
..
confighash refactor: move the config-hash helpers to internal/confighash 2026-10-29 08:20:15 +01:00
containerops test(containerops): pin which containers cp targets 2026-10-27 11:19:35 +01:00
desktop fix(publish): bypass Docker Desktop proxy for loopback registries 2026-06-15 21:18:19 +02:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
inspect refactor(projectloader): move project loading and generation to internal/projectloader 2026-10-13 10:03:53 +02:00
locker build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
memnet golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
naming refactor(relay): move the provider relay management to internal/relay 2026-10-15 09:10:05 +02:00
oci TestGetBlob_RejectsSizeMismatch: update error message check 2026-10-16 10:19:22 +02:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
progress refactor(provider): move the provider plugin execution to internal/provider 2026-10-15 09:10:05 +02:00
projectloader docs(projectloader): point the comments to the new home of the dependency wait 2026-10-27 12:23:43 +01:00
provider refactor(provider): move the provider plugin execution to internal/provider 2026-10-15 09:10:05 +02:00
registry refactor(registry): read session expiry only from the stored claims 2026-10-21 17:15:36 +02:00
relay refactor(relay): move the provider relay management to internal/relay 2026-10-15 09:10:05 +02:00
sync fix: share --parallel budget across down's ops and up's log-attach 2026-10-01 16:02:14 +02:00
tracing build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00