[release-announce] [oslo] oslo.config 3.20.0 (ocata)

no-reply at openstack.org no-reply at openstack.org
Thu Dec 1 16:44:58 UTC 2016


We are eager to announce the release of:

oslo.config 3.20.0: Oslo Configuration API

This release is part of the ocata release series.

The source is available from:

    http://git.openstack.org/cgit/openstack/oslo.config

Download the package from:

    https://pypi.python.org/pypi/oslo.config

Please report issues through launchpad:

    http://bugs.launchpad.net/oslo.config

For more details, please see below.

3.20.0
^^^^^^


New Features
************

* Add default config-dir paths if no --config-dir switches are given
  on the command line. This is similar to the default config-file
  handling oslo.config already supports. If no --config-dir switches
  are given, oslo.config searches now in a couple of directories
  (depending on the given project name) for config file snippets. Non-
  existing directories are simply skipped. The directories, if no
  project name is given, are:

  * ~/${prog}.conf.d/

  * /etc/${prog}.conf.d/

  Only the first directory is used if that is available. If a project
  is given, the directories searched is a bit more complicated. 2
  directories are searched, first search is for the project related
  dir:

  * ~/.${project}/${project}.conf.d/

  * ~/${project}.conf.d/

  * /etc/${project}/${project}.conf.d/

  * /etc/${project}.conf.d/

  Then for the program name related configs, the following directories
  are searched:

  * ~/.${project}/${prog}.conf.d/

  * ~/${prog}.conf.d/

  * /etc/${project}/${prog}.conf.d/

  * /etc/${prog}.conf.d/


Upgrade Notes
*************

* Similar to 'default_config_files', 'default_config_dirs' is no
  longer an allowed config key. If that key is used, a ValueError()
  will be raised.


Other Notes
***********

* Adding some default config-dirs makes it possible to use config
  dir snippets also in wsgi environments (like Apache) where it is not
  easily possible to pass command line parameters to a wsgi app.

Changes in oslo.config 3.19.0..3.20.0
-------------------------------------

f24b04e Add defaults for config-dir
36ee449 Fix filename in comment
2f8025b Add 'summarize' option
2547c59 Revert "Fix conversion to item_type on __call__ in List type"
42af1ad Fix conversion to item_type on __call__ in List type
38246b6 doc: Fix Range type version
a684d7b Updated from global requirements


Diffstat (except docs and test files)
-------------------------------------

oslo_config/_list_opts.py                          |   9 +-
oslo_config/cfg.py                                 | 111 ++++++++++++++----
oslo_config/fixture.py                             |  39 ++++++-
oslo_config/generator.py                           |  62 +++++++---
oslo_config/types.py                               |   2 +-
.../add-default-config-dirs-03340ff6689afe94.yaml  |  38 ++++++
test-requirements.txt                              |   2 +-
10 files changed, 416 insertions(+), 48 deletions(-)


Requirements updates
--------------------

diff --git a/test-requirements.txt b/test-requirements.txt
index b3b9149..0c6769c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -22 +22 @@ oslosphinx>=4.7.0 # Apache-2.0
-reno>=1.8.0 # Apache2
+reno>=1.8.0 # Apache-2.0





More information about the Release-announce mailing list