compose_diff-0.4.0
توضیحات
diff docker-compose files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | compose_diff-0.4.0 |
| نام | compose_diff |
| نسخه کتابخانه | 0.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stefan Rohe |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | http://github.com/funkwerk/compose_diff |
| آدرس اینترنتی | https://pypi.org/project/compose_diff/ |
| مجوز | MIT |
|Build Status| |Docker Build| |PyPi downloads| |PyPi version| |Docker
pulls| # compose\_diff
Diff docker-compose files. When deploying using docker-compose, these
files could be used to generate Release Notes. Especially interesting is
to diff two docker-compose Releases by each other, then customers know
the changed components and testers know which part to especially test.
Usage
-----
Via Python
~~~~~~~~~~
Install it via: ``pip3 install compose_diff``
After that use it like
``compose_diff --versions old.yml new.yml`` this will print the
differences in the used versions/tags between the two compose files.
``compose_diff --instances old.yml new.yml`` this will print the amount
of instances of this image between the two compose files.
Features
--------
- Support for Version 2 and Version 1.
- Diffs Image Versions
- Diffs Image Instances
- Output in Markdown and CSV format
.. |Build Status| image:: https://travis-ci.org/funkwerk/compose_diff.svg
:target: https://travis-ci.org/funkwerk/compose_diff
.. |Docker Build| image:: https://img.shields.io/docker/automated/funkwerk/compose_diff.svg
:target: https://hub.docker.com/r/funkwerk/compose_diff/
.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/compose_diff.svg
:target: https://pypi.python.org/pypi/compose_diff/
.. |PyPi version| image:: https://img.shields.io/pypi/v/compose_diff.svg
:target: https://pypi.python.org/pypi/compose_diff/
.. |Docker pulls| image:: https://img.shields.io/docker/pulls/funkwerk/compose_diff.svg
:target: https://hub.docker.com/r/funkwerk/compose_diff/
نحوه نصب
نصب پکیج whl compose_diff-0.4.0:
pip install compose_diff-0.4.0.whl
نصب پکیج tar.gz compose_diff-0.4.0:
pip install compose_diff-0.4.0.tar.gz