[release-announce] oslo.config 6.7.0 (stein)
no-reply at openstack.org
no-reply at openstack.org
Mon Nov 5 22:00:27 UTC 2018
We are thrilled to announce the release of:
oslo.config 6.7.0: Oslo Configuration API
This release is part of the stein release series.
The source is available from:
https://git.openstack.org/cgit/openstack/oslo.config
Download the package from:
https://pypi.org/project/oslo.config
Please report issues through launchpad:
https://bugs.launchpad.net/oslo.config
For more details, please see below.
6.7.0
^^^^^
New Features
* Support for accessing configuration data in environment variables
via the environment backend driver, enabled by default. The
environment is checked after command line options, but before
configuration files.
Environment variables are checked for any configuration data. The
variable names take the form:
* A prefix of "OS_"
* The group name, uppercased
* Separated from the option name by a *__* (double underscore)
* Followed by the name
For an option that looks like this in the usual INI format:
[placement_database]
connection = sqlite:///
the corresponding environment variable would be
"OS_PLACEMENT_DATABASE__CONNECTION".
Changes in oslo.config 6.6.2..6.7.0
-----------------------------------
70d4047 Clean up grammar and spelling in driver docs
ea8a0f6 Add support for looking in environment for config
8cc6034 Document when sample_default is in use
Diffstat (except docs and test files)
-------------------------------------
oslo_config/cfg.py | 63 ++++++++++++---
oslo_config/generator.py | 8 ++
oslo_config/sources/__init__.py | 8 +-
oslo_config/sources/_environment.py | 92 ++++++++++++++++++++++
oslo_config/sphinxext.py | 10 +++
.../config-from-environment-3feba7b4cc747d2b.yaml | 22 ++++++
11 files changed, 260 insertions(+), 17 deletions(-)
More information about the Release-announce
mailing list