From 2fa938cb707c52949f265706a7137d754da0112d Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Tue, 5 Dec 2023 21:55:14 +0100 Subject: [PATCH] release v0.6 --- .travis.yml | 8 -------- CHANGELOG.md | 16 +++++++++------- conf/haproxy-cli.conf.example | 4 ++++ conf/haproxyctl.conf.example | 4 ---- haproxy/__init__.py | 2 +- setup.py | 2 +- 6 files changed, 15 insertions(+), 21 deletions(-) delete mode 100644 .travis.yml create mode 100644 conf/haproxy-cli.conf.example delete mode 100644 conf/haproxyctl.conf.example diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 532bda4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: python -python: - - "2.6" - - "2.7" - - "3.3" - - "3.4" -# Tests -script: nosetests haproxy/tests diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e1e5d0..367bc8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## v0.6.0 +## [v0.6.0] - 2023-12-05 ### Added -* new command: showServers (API, JSON output) -* new command: set/getServerWeight -* new output formats: json, bootstrap (API) +* New API commands: showServers, set/getServerWeight +* New API output formats: json, bootstrap (OPNsense) ### Changed -* map commands disableServer and enableServer to `set server state maint|ready` -* print 'None' if no output is returned by HAProxy -* decode HAProxy socket output as UTF-8 instead of ASCII +* Map commands disableServer and enableServer to `set server state maint|ready` +* Print 'None' if no output is returned by HAProxy +* Decode HAProxy socket output as UTF-8 instead of ASCII ## v0.5.0 - 2015-05-24 @@ -53,3 +52,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## v0.1.0 - 2013-05-07 Initial release of haproxyctl. + +[Unreleased]: https://github.com/markt-de/haproxy-cli/compare/v0.6.0...HEAD +[v0.6.0]: https://github.com/markt-de/haproxy-cli/compare/v0.5.0...v0.6.0 diff --git a/conf/haproxy-cli.conf.example b/conf/haproxy-cli.conf.example new file mode 100644 index 0000000..2d53d12 --- /dev/null +++ b/conf/haproxy-cli.conf.example @@ -0,0 +1,4 @@ +[global] +verbose = 1 +socket = /var/run/haproxy.sock +backend = examplebackend diff --git a/conf/haproxyctl.conf.example b/conf/haproxyctl.conf.example deleted file mode 100644 index bd3729e..0000000 --- a/conf/haproxyctl.conf.example +++ /dev/null @@ -1,4 +0,0 @@ -[global] -verbose = 1 -socket = /tmp/haproxy.sock -backend = mybackend diff --git a/haproxy/__init__.py b/haproxy/__init__.py index d63ce4c..6642895 100644 --- a/haproxy/__init__.py +++ b/haproxy/__init__.py @@ -1,3 +1,3 @@ """haproxy-cli Based on: https://github.com/neurogeek/haproxyctl""" -__version__ = '1.0' +__version__ = '0.6' diff --git a/setup.py b/setup.py index 24edf3d..a002f6d 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='haproxy-cli', - version='1.0', + version='0.6', description='A tool to interact with HAProxy', author='markt.de', author_email='github-oss-noreply@markt.de',