Changes the library used for deserializing a compose file from docker-compose-types to compose_spec. Most of the conversion logic was refactored/rewritten and hopefully readability and maintainability have improved in those areas. compose_spec is a lot stricter about what it accepts as a valid compose file. This is a breaking change as some compose files (those that don't comply with the spec) will no longer successfully deserialize and convert.
A new --binds-to option was added, which sets BindsTo= in the [Unit] section. It was needed for converting from long syntax depends_on when restart is true.
One other breaking change is that podlet compose --pod was renamed to podlet compose --kube and no longer takes an argument. Instead, podlet uses the top-level name field from the compose file for the name of pod. --pod will return with Podman v5.0.0 support (#68).
Changes the library used for deserializing a compose file from
docker-compose-types
tocompose_spec
. Most of the conversion logic was refactored/rewritten and hopefully readability and maintainability have improved in those areas.compose_spec
is a lot stricter about what it accepts as a valid compose file. This is a breaking change as some compose files (those that don't comply with the spec) will no longer successfully deserialize and convert.A new
--binds-to
option was added, which setsBindsTo=
in the[Unit]
section. It was needed for converting from long syntaxdepends_on
whenrestart
istrue
.One other breaking change is that
podlet compose --pod
was renamed topodlet compose --kube
and no longer takes an argument. Instead, podlet uses the top-levelname
field from the compose file for the name of pod.--pod
will return with Podman v5.0.0 support (#68).Closes #47 Closes #61 Closes #62 Closes #63 Closes #69