compose/cmd/compose
Milas Bowman 1e35245390 Print services in dependency order
Currently, `compose config --services` outputs the services in
a random/non-deterministic order.

In Compose v1, this was implicitly topologically sorted because
the project services were pre-sorted. With `compose-go`, the
services are unordered, and the `WithServices()` helper can be
used to iterate in dependency order.

Signed-off-by: Milas Bowman <milasb@gmail.com>
2021-07-21 11:11:38 -04:00
..
build.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
compose.go test 2021-06-24 10:11:01 +02:00
compose_test.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
convert.go Print services in dependency order 2021-07-21 11:11:38 -04:00
convert_kube.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
cp.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
create.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
down.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
events.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
exec.go distinguish stdout and stderr 2021-07-02 10:53:11 +02:00
images.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
kill.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
list.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
logs.go Merge branch 'main' of github.com:docker/compose-cli into docker_compose_logs_since_option 2021-06-16 08:57:02 +08:00
pause.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
port.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
ps.go report error on `ps` when no container found for service(s) 2021-07-12 10:42:31 +02:00
pull.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
push.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
remove.go pass --force and --volumes options to backend 2021-06-25 13:46:34 +02:00
restart.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
run.go run -v should not remove configured volumes 2021-07-12 12:40:37 +02:00
start.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
stop.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
top.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
up.go Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
up_test.go move compose-plugin commands under /cmd 2021-06-15 15:52:48 +02:00
version.go Do not strip "v" prefix from version when printing 2021-07-03 15:53:21 +02:00