From 6cf831852c2a42c8befbdbce9326b45ef5016628 Mon Sep 17 00:00:00 2001 From: Pavlos Parissis Date: Mon, 13 Apr 2020 14:53:48 +0200 Subject: [PATCH] RELEASE 0.2.3 version --- AUTHORS | 1 + ChangeLog | 42 ++++++++++++++++++++++++++-------------- haproxyadmin/__init__.py | 2 +- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/AUTHORS b/AUTHORS index 72ce35e..0be2df7 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,4 @@ +Christian Rovner Michael Balser Ori Shoshan Pavlos Parissis diff --git a/ChangeLog b/ChangeLog index 8f6fb8e..530d36f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,20 @@ CHANGES ======= +0.2.3 +----- + +* RELEASE 0.2.3 version +* connected\_socket(): fix validation check for HAPEE >= 2.1 +* Remove debugging code +* Add support for setting the timeout +* DOC: Update TODO +* Split internal classes to individual modules +* Try to smarter when we return address/port +* Remove useless object inheritance +* setup.cfg: We don't need psutil anymore +* DOC: Update docstrings + 0.2.2 ----- @@ -16,7 +30,7 @@ CHANGES * DOC: Change python version we use for development * Ignore Python 3 class hierarchy of OSError errors * Return empty list if a map doesn't have any entries -* Fix example code for show_map function +* Fix example code for show\_map function * Fix incorrect module path for constants in docstring * Add support for slim metric to Server object * List server metric names in alphabetic order @@ -99,7 +113,7 @@ CHANGES * fix a regression introduced with dcc5173e31deac * add support for sending commands to haproxy * simplify the way we send commands to socket -* add support for keyword arguments in cmd_across_all_procs() +* add support for keyword arguments in cmd\_across\_all\_procs() * fix (once again) format issues in TODO.rst * fix format issues in TODO.rst * add some ordering in our TODO items @@ -142,7 +156,7 @@ CHANGES * internal.py: OSError exception doesn't have message attribute * remove unnecessary declaration * don't use relative imports as our module layout is quit flat and very short -* __init__.py:add version and remove ascii art +* \_\_init\_\_.py:add version and remove ascii art * import all exceptions in the doc rather import each one individually * exceptions.py: use correct exception names * add SocketTimeout exception and raise it when we got timeout after X retries @@ -164,8 +178,8 @@ CHANGES ----- * RELEASE 0.1.0 version -* raise CommandFailed rather ValueError in show_acl -* show_acl: rename acl argument to aclid to be consistent with show_map +* raise CommandFailed rather ValueError in show\_acl +* show\_acl: rename acl argument to aclid to be consistent with show\_map * update TODO * update docstring for acl commands @@ -187,7 +201,7 @@ CHANGES * tiny reformatting on exceptions * haproxy.py: explicitly check for the existence of socket directory * Update TODO -* extend ERROR_OUTPUT_STRINGS to support address field +* extend ERROR\_OUTPUT\_STRINGS to support address field * include Socket family exceptions in the documentation * updates on ChangeLog @@ -198,7 +212,7 @@ CHANGES * haproxy.py: reformating * utils.py: raise an appropriate exception when we check for valid socket files * add a bunch of exceptions for catching errors when we test socket file -* connected_socket() perform a sanity on the date returned +* connected\_socket() perform a sanity on the date returned 0.0.4 ----- @@ -207,7 +221,7 @@ CHANGES * update TODO * haproxy.py: fix a bug in add map where we forgot to set value * haproxy.py: ignore socket files not bound to a process -* utils.py: add connected_socket to check if a socket is bound to a process +* utils.py: add connected\_socket to check if a socket is bound to a process * include six and not docopt in requirements.txt * add requirements file for pip installations * bump version on docs as well @@ -220,7 +234,7 @@ CHANGES * RELEASE 0.0.3 version * DOC: another set of updates -* rename get_frontends to frontends +* rename get\_frontends to frontends * Performance improvements due to the way we interact with stats socket * update haproxy.cfg, give a unique name for each listen directive * Update TODO.rst @@ -233,7 +247,7 @@ CHANGES * DOC: add remaining examples for frontends in User Guide * README: add missing variable * DOC: add examples for backends in User Guide -* backend.py: remove status from BACKEND_METRICS +* backend.py: remove status from BACKEND\_METRICS * DOC: add a bunch of examples for frontends in User Guide * DOC: add missing example code * DOC: add more examples for HAProxy operations in the User Guide @@ -256,7 +270,7 @@ CHANGES * RELEASE 0.0.2 version * README: merged TODO into README * README: documention reference doesn't need to be a section -* internal.py: wrong refactoring for _Backend class +* internal.py: wrong refactoring for \_Backend class * refactor Pool to backend * refactor PoolMember to Server * major updates on docstrings to allow sphinx integration @@ -266,7 +280,7 @@ CHANGES * utils.py update docstrings * TODO: work in progress for updating docstrings * internal.py: update docstrings -* internal.py: change parameter name to name for get_frontends +* internal.py: change parameter name to name for get\_frontends * merged NOTES into TODO * NOTES: tiny fix * add some notes @@ -276,12 +290,12 @@ CHANGES * haproxy.py: fix typo * We don't need it anymore and it was a bad idea * add haproxy.cfg which we use -* utils.py: we don't perform any calculation for Uptime_sec field +* utils.py: we don't perform any calculation for Uptime\_sec field * haproxy.py: docstring fix * haproxy.py: add a bunch of properties for HAProxy process * utils.py don't remove trailing whitespace when parse 'show info' output * haproxy.py: perform calculation in metric() if the caller wants it -* internal.py remove unused function run_commandold +* internal.py remove unused function run\_commandold * change license to Apache 2.0 * README.rst: add acknowledgement section * switch to README.rst by removing README.md diff --git a/haproxyadmin/__init__.py b/haproxyadmin/__init__.py index 1f3ac75..8cc04b0 100644 --- a/haproxyadmin/__init__.py +++ b/haproxyadmin/__init__.py @@ -10,7 +10,7 @@ __title__ = 'haproxyadmin' __author__ = 'Pavlos Parissis' __license__ = 'Apache 2.0' -__version__ = '0.2.2' +__version__ = '0.2.3' __copyright__ = 'Copyright 2015-2019 Pavlos Parissis' from haproxyadmin.haproxy import HAPROXY_METRICS