* Re-enable typing and improve config.
* Make mypy pass.
* Improve settings.
* First batch of types.
* Add more type hints.
* Fixes.
* Format.
* Fix split_port() without returning to previous type chaos.
* Continue with type hints (and ignores).
* Remove __metaclass__ = type.
for i in $(grep -REl '__metaclass__ = type' plugins/ tests/); do
sed -e '/^__metaclass__ = type/d' -i $i;
done
* Remove super arguments, and stop inheriting from object.
* Make all doc fragments, module utils, and plugin utils private.
* Remove some unused and no longer needed imports.
This hopefully also fixes the CI issues, which do not happen locally for me...
* Fix formatting.
* Try to make CI happy, again.
* Fix imports.
* Lint.
* Remove unicode text prefixes.
* Replace str.format() uses with f-strings.
* Replace % with f-strings, and do some cleanup.
* Fix wrong variable.
* Avoid unnecessary string conversion.
* fix: use correct flag for `assume_yes`
The correct flag is `--y`, not `--yes`.
* refactor(docker_compose_v2): use `-y` instead of `--y` to ensure future compatibility
Maybe they'll change it back to `--yes` sometime, so I'll use the short form that most likely won't change.
* docs(docker_compose_v2): add note about `-y` flag
Co-authored-by: Felix Fontein <felix@fontein.de>
* chore: add changelog fragment
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
* add yes option for compose up to assume yes and prevent hanging
* fix type
* add default
* add changelog fragment
* Apply doc suggestion
Co-authored-by: Felix Fontein <felix@fontein.de>
* set version_added to 4.5.0
* use `assume_yes` to avoid clashing with yaml `yes` keyword
* add version check
* default self.yes to False
* update description
* Fail on older version
Co-authored-by: Felix Fontein <felix@fontein.de>
* update changelog fragment
* update description
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
* add `renew_anon_volumes` parameter to `docker compose up`
* Apply suggestions from code review
Apply suggested changes to Documentation
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix sanity check error
apply suggestion from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* add changelog fragment for PR #977
* apply suggested changes to changelog fragment
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Christoph Sieber <Christoph.Sieber@telekom.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
* Don't assume that docker version/info JSON output contains the expected fields.
* Allow CLI modules to not require the API version.
* Add changelog fragment.
* Allow to specify inline compose definitions.
* Remove comma that trips Python 2.7.
* Add tests.
* Add PyYAML as EE dependency.
* Be more explicit on PyYAML.
* Add pull option for 'docker compose up'.
* Improve dry-mode event parsing, and also parse pull-related events.
* Improve error handling, and add first tests.
* Fix action status documentation.
* Add more tests.
* Always return stderr.
This makes debugging misbehavior a lot easier since you can see
what 'docker compose' actually returned.
* Reformat existing tests.
* Add docker_compose_v2 module.
* Add note on compatibility.
* Parse more events.
Emit warnings (or things we assume are warnings), and report unparsable
messages to the user so they can report them to us.