1
0

72 Commits

Author SHA256 Message Date
Dominique Leuenberger
3f6abd379a Accepting request 583336 from Cloud:OpenStack:Factory
- Switch to stable/queens spec template

OBS-URL: https://build.opensuse.org/request/show/583336
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=26
2018-03-19 22:35:39 +00:00
Thomas Bechtold
b5f2afa41d OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=66 2018-02-23 13:20:45 +00:00
Dominique Leuenberger
e3fb0f2eae Accepting request 565766 from Cloud:OpenStack:Factory
- update to version 5.2.0
  - Clean up enforce_type related test method's name
  - Remove -U from pip install
  - Provide descriptions for choices
  - Fix the invalid links for doc file in oslo.config
  - Avoid tox_install.sh for constraints support
  - sphinxext: Don't sometimes emit trailing newlines

OBS-URL: https://build.opensuse.org/request/show/565766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=25
2018-01-17 20:56:27 +00:00
498198916c - update to version 5.2.0
- Clean up enforce_type related test method's name
  - Remove -U from pip install
  - Provide descriptions for choices
  - Fix the invalid links for doc file in oslo.config
  - Avoid tox_install.sh for constraints support
  - sphinxext: Don't sometimes emit trailing newlines

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=64
2018-01-15 11:51:14 +00:00
Dominique Leuenberger
8bed386b2b Accepting request 562946 from Cloud:OpenStack:Factory
- update to version 5.1.0
  - Remove setting of version/release from releasenotes
  - Make help message include choices information for StrOpt
  - Update reno for stable/pike
  - Fix the incorrect file path
  - Fix sphinx option generation when advanced=True
  - Empty groupname will be 'DEFAULT' by default
  - Remove the parameter enforce_type from set_override and set_default
  - Correct documentation error in DeprecatedOpt
  - Use boolean where expected
  - Remove redundant colon in doc
  - Implement OptGroup.__str__ for log messages
  - Added exception when namespace option is missing
  - Cleanup test-requirements
  - Prefer SNAP_COMMON config files
  - Updated from global requirements

OBS-URL: https://build.opensuse.org/request/show/562946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=24
2018-01-10 22:35:52 +00:00
876bcc1500 - update to version 5.1.0
- Remove setting of version/release from releasenotes
  - Make help message include choices information for StrOpt
  - Update reno for stable/pike
  - Fix the incorrect file path
  - Fix sphinx option generation when advanced=True
  - Empty groupname will be 'DEFAULT' by default
  - Remove the parameter enforce_type from set_override and set_default
  - Correct documentation error in DeprecatedOpt
  - Use boolean where expected
  - Remove redundant colon in doc
  - Implement OptGroup.__str__ for log messages
  - Added exception when namespace option is missing
  - Cleanup test-requirements
  - Prefer SNAP_COMMON config files
  - Updated from global requirements

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=62
2017-12-07 20:34:22 +00:00
Dominique Leuenberger
2233c515f6 Accepting request 529085 from Cloud:OpenStack:Factory
- update to version 4.11.1
  - Update .gitreview for stable/pike
  - Empty groupname will be 'DEFAULT' by default
  - Updated from global requirements
  - Update UPPER_CONSTRAINTS_FILE for stable/pike

OBS-URL: https://build.opensuse.org/request/show/529085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=23
2017-09-29 09:56:36 +00:00
Thomas Bechtold
6ab36d70a9 osc copypac from project:Cloud:OpenStack:Pike package:python-oslo.config revision:2, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=60
2017-09-28 06:59:14 +00:00
Dominique Leuenberger
e53817647a Accepting request 514837 from Cloud:OpenStack:Factory
- update to version 4.11.0
  - Enable some off-by-default checks
  - Remove usage of enforce_type=True
  - Don't set enforce_type if we are using the default
  - update the documentation URL in the readme
  - rearrange docs based on new standard layout
  - [Fix gate]Update test requirement
  - Update reno for stable/ocata
  - Fix string interpolation in ValueError
  - Handle both - and _ forms of deprecated opts
  - Fix html_last_updated_fmt for Python3
  - add deprecation_reason to log message
  - Handle getattrs to ConfigOpts for deprecated opts
  - Optimize the link address
  - fix an issue with looking up deprecated option names in code
  - add rst output mode for config generator
  - switch from oslosphinx to openstackdocstheme
  - pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
  - Update URLs in documents according to document migration
  - sphinxext: Log with 'str', not 'repr'
  - Clarify info on a comment
  - sphinxext: Handle unescaped percentage signs
  - Fix typo in generator.rst
  - Add PyYAML as a requirement
  - Adjust removal_version for argument enforce_type
  - Fix conversion to item_type on __call__ in List type(again)
  - Machine Readable Sample Config
  - Cast generator_options to dict
  - import content from the configuration reference guide
  - Remove dependency oslo.i18n from test-requirements.txt

OBS-URL: https://build.opensuse.org/request/show/514837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=22
2017-08-28 13:29:40 +00:00
Thomas Bechtold
d6d8296bcd - update to version 4.11.0
- Enable some off-by-default checks
  - Remove usage of enforce_type=True
  - Don't set enforce_type if we are using the default
  - update the documentation URL in the readme
  - rearrange docs based on new standard layout
  - [Fix gate]Update test requirement
  - Update reno for stable/ocata
  - Fix string interpolation in ValueError
  - Handle both - and _ forms of deprecated opts
  - Fix html_last_updated_fmt for Python3
  - add deprecation_reason to log message
  - Handle getattrs to ConfigOpts for deprecated opts
  - Optimize the link address
  - fix an issue with looking up deprecated option names in code
  - add rst output mode for config generator
  - switch from oslosphinx to openstackdocstheme
  - pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
  - Update URLs in documents according to document migration
  - sphinxext: Log with 'str', not 'repr'
  - Clarify info on a comment
  - sphinxext: Handle unescaped percentage signs
  - Fix typo in generator.rst
  - Add PyYAML as a requirement
  - Adjust removal_version for argument enforce_type
  - Fix conversion to item_type on __call__ in List type(again)
  - Machine Readable Sample Config
  - Cast generator_options to dict
  - import content from the configuration reference guide
  - Remove dependency oslo.i18n from test-requirements.txt

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=58
2017-08-07 06:36:45 +00:00
Dominique Leuenberger
6d5ebcc242 Accepting request 456731 from Cloud:OpenStack:Factory
- update to version 3.22.0:
  - Add missing exceptions to the documentation
  - fix interpolation of None value
  - List comprehensions
  - standardize release note page ordering
  - Add 'schemes' argument to URIOpt
  - Add IPOpt and PortOpt names for sphinxext
  - Enable release notes translation
  - Normalize group sections
  - Update reno for stable/newton
  - Ensure test_config_dir_doesnt_exist() dir doesn't exist
  - Add Constraints support
  - Revert "Fix conversion to item_type on __call__ in List type"
  - Add doc about config option name and comment in config file
  - Show team and repo badges on README
  - Correct nits in Iedf808
  - Replace six.iteritems() with .items()
  - Add defaults for config-dir
  - Add some documentation about option deprecation
  - [TrivialFix] Replace 'assertTrue(a in b)' with 'assertIn(a, b)'
  - config: Pass description and epilog through
  - Fix wrong usage of DuplicateOptError
  - modify the home-page info with the developer documentation
  - Fix missing option types to config doc
  - doc: Fix Range type version
  - Remove references to Python 3.4
  - Add HostnameOpt and URIOpt types to sphinxext
  - Warn user about enforce_type default change
  - Fix conversion to item_type on __call__ in List type
  - Fix filename in comment

OBS-URL: https://build.opensuse.org/request/show/456731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=21
2017-02-21 12:43:09 +00:00
Thomas Bechtold
351915d8ed - Remove 0001-Add-defaults-for-config-dir.patch . Applied upstream.
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=56
2017-02-13 11:15:28 +00:00
Thomas Bechtold
1a084140fa - update to version 3.22.0:
- Add missing exceptions to the documentation
  - fix interpolation of None value
  - List comprehensions
  - standardize release note page ordering
  - Add 'schemes' argument to URIOpt
  - Add IPOpt and PortOpt names for sphinxext
  - Enable release notes translation
  - Normalize group sections
  - Update reno for stable/newton
  - Ensure test_config_dir_doesnt_exist() dir doesn't exist
  - Add Constraints support
  - Revert "Fix conversion to item_type on __call__ in List type"
  - Add doc about config option name and comment in config file
  - Show team and repo badges on README
  - Correct nits in Iedf808
  - Replace six.iteritems() with .items()
  - Add defaults for config-dir
  - Add some documentation about option deprecation
  - [TrivialFix] Replace 'assertTrue(a in b)' with 'assertIn(a, b)'
  - config: Pass description and epilog through
  - Fix wrong usage of DuplicateOptError
  - modify the home-page info with the developer documentation
  - Fix missing option types to config doc
  - doc: Fix Range type version
  - Remove references to Python 3.4
  - Add HostnameOpt and URIOpt types to sphinxext
  - Warn user about enforce_type default change
  - Fix conversion to item_type on __call__ in List type
  - Fix filename in comment

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=55
2017-02-13 09:07:21 +00:00
754ece276b - update to 3.17.1:
* Updated from global requirements

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=54
2017-01-31 07:33:14 +00:00
Dominique Leuenberger
f027a10d98 Accepting request 443013 from Cloud:OpenStack:Factory
- switch to stable/newton
- add format_spec_file to _service
- Add 0001-Add-defaults-for-config-dir.patch to support default
  config directories

OBS-URL: https://build.opensuse.org/request/show/443013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=20
2016-12-02 15:43:37 +00:00
Thomas Bechtold
c6198aae3d - switch to stable/newton
- add format_spec_file to _service
- Add 0001-Add-defaults-for-config-dir.patch to support default
  config directories

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=52
2016-12-01 10:41:46 +00:00
Dominique Leuenberger
340d714243 Accepting request 425268 from Cloud:OpenStack:Factory
OpenStack client update

OBS-URL: https://build.opensuse.org/request/show/425268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=19
2016-09-30 13:29:14 +00:00
Thomas Bechtold
0ba2b23c89 - update to version 3.17.0
* Add set_override method test with ListOpt
  * Fix: default value of prog should remove extension
  * Updated from global requirements
  * Add Port type to allow configuration of a list of tcp/ip ports
  * Advanced Option

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=50
2016-08-30 16:23:26 +00:00
37866e53ec - update to 3.14.0:
* disable lazy translation in sphinx extension
  * Trivial: adjust import order to fit the import order guideline
  * Make error message more clear
  * Add min and max values to Float type and Opt
  * Fix parameters of assertEqual are misplaced
  * Updated from global requirements
  * Add max_length to URIOpt
  * Remove discover from test-requirements
  * update docs for sphinxconfiggen
  * Add URIOpt to doced option types

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=49
2016-08-08 09:27:13 +00:00
c3e2c847d2 - update to 3.13.0:
* Add Python 3.5 classifier and venv
  * Enabling your project for mutable-config
  * Add namespace to _list_opts() in test
  * decode subprocess output so doc build works on python3
  * Updated from global requirements

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=48
2016-07-29 15:42:38 +00:00
Thomas Bechtold
1003fb3b22 - update to 3.12.0:
* Add URIOpt
  * Add support for a deprecated version
  * Updated from global requirements
  * Support template substitution of DictOpt
  * fixture: Provide parameter enforce_type for method config
  * Fix typo: 'olso' to 'oslo'
  * Return [] for .config_dirs when config files are not parsed
  * generator: format string default value for List type properly
  * Updated from global requirements
  * Required Option
  * Updated from global requirements
  * Make sure ConfigType is an abstract class
  * Added i18n formatting to log messages
  * Remove duplicated code in method test_equal of HostnameTypeTests
  * Incorrect group name when deprecated_group is not specified
  * Handle some native python types in config generation

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=47
2016-07-04 15:43:37 +00:00
Thomas Bechtold
a24e2b56bc OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=46 2016-06-10 07:48:22 +00:00
Thomas Bechtold
bdb5b4aed4 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=45 2016-06-02 09:17:58 +00:00
Thomas Bechtold
2b765fee86 - use renderspec source service
- update spec from upstream

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=44
2016-06-02 09:00:03 +00:00
Dominique Leuenberger
f3b1e497bf Accepting request 387846 from Cloud:OpenStack:Factory
- Switch to.spec from rpm-packaging upstream project

- update to 3.9.0:
  * remove redundant call to set explicit target
  * clear the cache before mutating the config files
  * Updated from global requirements
  * Add None-check to find_file
  * add support for mutable options in the config generator
  * add unreleased page to release notes build
  * add a release note mentioning our use of reno
  * Add reno for release notes management
  * Hooks around mutate_config_files
  * Add hostname config type
  * Add config_dirs property with a list of directories
  * Fix wrong check with non-None value when format group
  * add generator hook for apps to update option defaults
  * Updated from global requirements
  * refactor generator._list_opts for further enhancement
  * Add debtcollector as requirement
  * always show coverage output from tests
  * handle group objects in sphinxext
  * refactor sphinxext and add unit tests
  * have show-options load the generator config file
  * support multiple namespaces in sphinxext
  * refactor sphinxext to make reformatting easier
  * refactor generator closures to private methods
  * Updated from global requirements
  * remove specially attribute handling from _Namespace
  * Fix unrecognized subparser args
  * Add test for BoolOpt with no default

OBS-URL: https://build.opensuse.org/request/show/387846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=18
2016-05-04 06:19:28 +00:00
1d1fd34a2d OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=42 2016-04-12 07:30:34 +00:00
8cf45f7ed7 - Switch to.spec from rpm-packaging upstream project
- update to 3.9.0:
  * remove redundant call to set explicit target
  * clear the cache before mutating the config files
  * Updated from global requirements
  * Add None-check to find_file
  * add support for mutable options in the config generator
  * add unreleased page to release notes build
  * add a release note mentioning our use of reno
  * Add reno for release notes management
  * Hooks around mutate_config_files
  * Add hostname config type
  * Add config_dirs property with a list of directories
  * Fix wrong check with non-None value when format group
  * add generator hook for apps to update option defaults
  * Updated from global requirements
  * refactor generator._list_opts for further enhancement
  * Add debtcollector as requirement
  * always show coverage output from tests
  * handle group objects in sphinxext
  * refactor sphinxext and add unit tests
  * have show-options load the generator config file
  * support multiple namespaces in sphinxext
  * refactor sphinxext to make reformatting easier
  * refactor generator closures to private methods
  * Updated from global requirements
  * remove specially attribute handling from _Namespace
  * Fix unrecognized subparser args
  * Add test for BoolOpt with no default

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=41
2016-03-09 16:05:21 +00:00
9d8bdf8bd6 OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=40 2016-03-09 16:03:14 +00:00
Dominique Leuenberger
d751383810 Accepting request 361769 from Cloud:OpenStack:Factory
- update to 3.4.0:
  * Do not fail on certain config option help strings
  * Updated from global requirements
  * enhance sphinx integration to allow links to option definitions
  * Remove argparse from requirements
  * Updated from global requirements
  * replace reference to default value in option help text in docs
  * add built-in options to auto-generated documentation
  * register the built-in options for the config generator to find
  * Add reST work label for configuration options
  * Allow port number with 0
  * Replace deprecated library function os.popen() with subprocess
  * Fix can't generate config sample with non-None value
  * Fixed deprecated_for_removal warning generation
  * Module index grouping
  * Docs class links
  * generator: ignore doubles
  * Numerous corrections to the docstrings
  * Make oslo-config-generator fail gracefully when no arguments
  * Replace assertEqual(*, None) with assertIsNone in tests
  * Python 3 deprecated the logger.warn method in favor of warning
  * Replace assertEqual(None,*) with assertIsNone(*)
  * Cleanly handle an undefined attribute reference
  * Replace assertEqual with assertTrue and assertFalse
  * assertIsNone(val) instead of assertEqual(None,val)

- Update to version 3.2.0
  * Capitalize IP
  * Add support for a deprecation reason
  * Removes MANIFEST.in as it is not needed explicitely by PBR

OBS-URL: https://build.opensuse.org/request/show/361769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=17
2016-03-07 12:23:12 +00:00
Thomas Bechtold
62361b60e5 - Switch to.spec from rpm-packaging upstream project
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=39
2016-03-03 07:47:51 +00:00
187f4aa896 - update to 3.9.0:
* remove redundant call to set explicit target
  * clear the cache before mutating the config files
  * Updated from global requirements
  * Add None-check to find_file
  * add support for mutable options in the config generator
  * add unreleased page to release notes build
  * add a release note mentioning our use of reno
  * Add reno for release notes management
  * Hooks around mutate_config_files
  * Add hostname config type
  * Add config_dirs property with a list of directories
  * Fix wrong check with non-None value when format group
  * add generator hook for apps to update option defaults
  * Updated from global requirements
  * refactor generator._list_opts for further enhancement
  * Add debtcollector as requirement
  * always show coverage output from tests
  * handle group objects in sphinxext
  * refactor sphinxext and add unit tests
  * have show-options load the generator config file
  * support multiple namespaces in sphinxext
  * refactor sphinxext to make reformatting easier
  * refactor generator closures to private methods
  * Updated from global requirements
  * remove specially attribute handling from _Namespace
  * Fix unrecognized subparser args
  * Add test for BoolOpt with no default
  * Fix bandit entry in tox.ini
  * Removal of bandit.yaml

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=38
2016-02-28 13:41:00 +00:00
db7485e50a - update to 3.4.0:
* Do not fail on certain config option help strings
  * Updated from global requirements
  * enhance sphinx integration to allow links to option definitions
  * Remove argparse from requirements
  * Updated from global requirements
  * replace reference to default value in option help text in docs
  * add built-in options to auto-generated documentation
  * register the built-in options for the config generator to find
  * Add reST work label for configuration options
  * Allow port number with 0
  * Replace deprecated library function os.popen() with subprocess
  * Fix can't generate config sample with non-None value
  * Fixed deprecated_for_removal warning generation
  * Module index grouping
  * Docs class links
  * generator: ignore doubles
  * Numerous corrections to the docstrings
  * Make oslo-config-generator fail gracefully when no arguments
  * Replace assertEqual(*, None) with assertIsNone in tests
  * Python 3 deprecated the logger.warn method in favor of warning
  * Replace assertEqual(None,*) with assertIsNone(*)
  * Cleanly handle an undefined attribute reference
  * Replace assertEqual with assertTrue and assertFalse
  * assertIsNone(val) instead of assertEqual(None,val)

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=37
2016-02-26 13:24:18 +00:00
5ed98c347d - Update to version 3.2.0
* Capitalize IP
  * Add support for a deprecation reason
  * Removes MANIFEST.in as it is not needed explicitely by PBR
  * Make PortOpt accept choices parameter
  * Test equality of types.String choices as a set
  * Add new parameter `choices` to Integer type
  * [fix-compat] Tolerate non-string defaults in String type
  * [fix-compat] Support older use case for Opt type
  * Handle None section name in MultiOptConfigParser#get
  * Allow method set_override with parameter override=None for all types
  * Move type formatting from generator to type
  * Allow naming of custom types
  * Remove 'raise' in _get
  * Remove python 2.6 support
  * Add DEFAULT group in NoSuchOptError when group=None

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=36
2016-01-08 08:26:29 +00:00
Dominique Leuenberger
bb2a82bf4c Accepting request 348997 from Cloud:OpenStack:Factory
- update to 2.7.0:
  * Add max length check to StrOpt
  * Fix StrOpt to allow setting quotes and regex
  * Improve default type checking
  * Use versionadded and versionchanged in doc
  * update doc to use new type PortOpt
  * Fix versionchanged
  * Raise exception when wrong type is used as default
  * Add PortOpt for integer with range 1 to 65535
  * Fix typos in cfg.py
  * Case insensitiveness when comparing choices values
  * Add missing tests and generator code for IPOpt
  * Fix coverage configuration and execution
  * Add item_type and bounds to ListOpt
  * Fix bad exception for StrOpt with invalid choice value
  * fix literal rendering in dictionary options docs
  * Fix home-page value in setup.cfg with Oslo wiki
  * docs - Set pbr 'warnerrors' option for doc build
  * Include changelog/history in docs
  * Correct the comment of __call__ method
  * Demonstrate that MultiStr values from multiple sources are merged
  * Make Integer type class honor zero for min/max

OBS-URL: https://build.opensuse.org/request/show/348997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=16
2015-12-21 11:04:18 +00:00
538b061ffe update to 2.7.0:
* Add max length check to StrOpt
  * Fix StrOpt to allow setting quotes and regex
  * Improve default type checking
  * Use versionadded and versionchanged in doc
  * update doc to use new type PortOpt
  * Fix versionchanged
  * Raise exception when wrong type is used as default
  * Add PortOpt for integer with range 1 to 65535
  * Fix typos in cfg.py
  * Case insensitiveness when comparing choices values
  * Add missing tests and generator code for IPOpt
  * Fix coverage configuration and execution
  * Add item_type and bounds to ListOpt
  * Fix bad exception for StrOpt with invalid choice value
  * fix literal rendering in dictionary options docs
  * Fix home-page value in setup.cfg with Oslo wiki
  * docs - Set pbr 'warnerrors' option for doc build
  * Include changelog/history in docs
  * Correct the comment of __call__ method
  * Demonstrate that MultiStr values from multiple sources are merged
  * Make Integer type class honor zero for min/max

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=34
2015-11-20 07:05:10 +00:00
Stephan Kulow
77fe141953 Accepting request 328091 from Cloud:OpenStack:Factory
- Fix doc build

- update to 2.3.0:
  * Add sphinx extension to embed pretty descriptions of options
  * Add sphinx extension to build sample config
  * Updated from global requirements
  * Updated from global requirements
  * preserve preformatted help text

OBS-URL: https://build.opensuse.org/request/show/328091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=15
2015-09-02 05:53:56 +00:00
Thomas Bechtold
fd36b6c60d Accepting request 327718 from Cloud:OpenStack:Master
- Fix doc build

OBS-URL: https://build.opensuse.org/request/show/327718
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=32
2015-08-28 11:03:18 +00:00
Thomas Bechtold
b2de1ac431 - update to 2.3.0:
* Add sphinx extension to embed pretty descriptions of options
  * Add sphinx extension to build sample config
  * Updated from global requirements
  * Updated from global requirements
  * preserve preformatted help text

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=31
2015-08-27 14:34:05 +00:00
Stephan Kulow
3ee3242e7d Accepting request 320697 from Cloud:OpenStack:Factory
- update to 2.1.0:
  * Updated from global requirements
  * Add regex validation to String type
  * Add enforce_type option when setting an override
  * Updated from global requirements
  * Add *.egg* to .gitignore
  * Updated from global requirements
  * Remove oslo namespace package
  * Fix use of mock for 1.1.0
  * Updated from global requirements
  * Expose min and max to IntOpt
  * Don't convert ValueError into NoSuchOptError in ConfigOpts
  * Updated from global requirements
  * Add FAQ entry for why we do not treat config options as API
  * Add set_default() method to fixture
  * fix fixture tests for fixtures 1.3.x
  * Add tox target to find missing requirements
  * Do not use oslo namespace for oslo.i18n lib
  * Fixes example for cfg
  * Updated from global requirements
  * Fix sorting of optional arguments
  * Switch badges from 'pypip.in' to 'shields.io'
  * Updated from global requirements
  * Fix sorting issue in python 3
  * Fix typo in Opt class doc string
- Adjust Requires

- Unify spec file #2

- Unify spec file

OBS-URL: https://build.opensuse.org/request/show/320697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=14
2015-08-27 06:54:46 +00:00
Thomas Bechtold
b8c6d7d93d - update to 2.1.0:
* Updated from global requirements
  * Add regex validation to String type
  * Add enforce_type option when setting an override
  * Updated from global requirements
  * Add *.egg* to .gitignore
  * Updated from global requirements
  * Remove oslo namespace package
  * Fix use of mock for 1.1.0
  * Updated from global requirements
  * Expose min and max to IntOpt
  * Don't convert ValueError into NoSuchOptError in ConfigOpts
  * Updated from global requirements
  * Add FAQ entry for why we do not treat config options as API
  * Add set_default() method to fixture
  * fix fixture tests for fixtures 1.3.x
  * Add tox target to find missing requirements
  * Do not use oslo namespace for oslo.i18n lib
  * Fixes example for cfg
  * Updated from global requirements
  * Fix sorting of optional arguments
  * Switch badges from 'pypip.in' to 'shields.io'
  * Updated from global requirements
  * Fix sorting issue in python 3
  * Fix typo in Opt class doc string
- Adjust Requires

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=29
2015-07-31 06:57:06 +00:00
Thomas Bechtold
2e88ac8e1b - Unify spec file #2
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=28
2015-07-31 06:53:28 +00:00
Thomas Bechtold
204a66801e - Unify spec file
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=27
2015-07-29 05:51:22 +00:00
b3b7de9278 - update to 1.12.1:
* Fix sorting issue in python 3

- update to 1.12.0:
  * Remove pbr requirement
  * Document properties as properties
  * make registering a cli opt on a filter object work
  * Remove outdated release notes
  * cfg: support interpolation of config option from other groups
  * Advertise support for Python3.4 / Remove support for 3.3
  * Do not sync run_cross_tests.sh
  * Updated from global requirements
  * Fix issue when generating code with cfg.OptGroup
  * Option name missing from ConfigFileValueError
  * Remove run_cross_tests.sh
  * Enforce alphabetic loading order for --config-dir contents
- Remove python-pbr from Requires

- update to 1.11.0:
  * Uncap library requirements for liberty
  * Added Raw Value Loading to Test Fixture
  * Add pypi download + version badges
  * Update hacking to kilo level
  * Add deprecated_for_removal support to the config generator
  * Generate docs for constructor
  * Fix doc build warning
  * Updated from global requirements

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=26
2015-07-20 19:46:05 +00:00
Stephan Kulow
7b06733b9b Accepting request 315354 from Cloud:OpenStack:Factory
- update to 1.9.3:
  * Switch to non-namespaced module imports

- update to 1.9.2:
  * print better message when choices has an empty string
  * None in config choices breaks oslo-config-generator
  * Generate help text indicating possible values
  * fix bug link in readme
  * Add ability to deprecate opts for removal
  * Typo in StrOpt docstring: Integer to String
  * Add exception handling for entry points

- update to 1.7.0:
  * Updated from global requirements
  * Log a warning when deprecated opts are used
  * Do not import our namespace package
  * Fixes deprecation warning for oslo.config in cfg.py
  * Clear up MultiStrOpt and related documentation
  * Add a list_all_sections method to ConfigOpts
  * Better check for integer range to account for 0
  * Reword DeprecatedOpt docstring
  * Support i18n messages in config generator
  * Fix of wrong cli opts unregistration
- Cleanup BuildRequires. SLES 11 is no longer a build target
- Add python-oslo.i18n as BuildRequires for tests
- Disable testrun for now

OBS-URL: https://build.opensuse.org/request/show/315354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=13
2015-07-12 20:52:26 +00:00
7fadee9fb4 osc copypac from project:Cloud:OpenStack:Kilo package:python-oslo.config revision:4, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=24
2015-06-24 16:27:42 +00:00
Dominique Leuenberger
2d97a5ec0d Accepting request 304320 from Cloud:OpenStack:Factory
- Add python_requires to _service
- Update Requires version according to requirements.txt

- update to version 1.6.0:
  * Set the version string
  * Stop sorting options on output
  * Move files out of the namespace package
  * Workflow documentation is now in infra-manual
  * Fix wrong order of positional args in cli
  * add tests coverage for an oslo.messaging use case
  * Refactored help string generation
  * Updated from global requirements
  * Updated from global requirements
  * Fix class constant indentation
  * Updated from global requirements
  * Activate pep8 check that _ is imported
  * Updated from global requirements
  * Updated from global requirements
  * Add pbr to installation requirements
  * Updated from global requirements
  * Add some guidance for group names
  * delay formatting debug log message
  * Check config default value is correct type
  * Report permission denied when parsing config
  * Fix docs example using generator config files
  * Updated from global requirements
  * do not use colons in section titles
  * Stop using intersphinx
- Adjust Requires according to requirements.txt
- Adjust BuildRequires according to test-requirements.txt

OBS-URL: https://build.opensuse.org/request/show/304320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=12
2015-05-02 19:35:11 +00:00
542333c890 - Add python_requires to _service
- Update Requires version according to requirements.txt

- update to version 1.6.0:
  * Set the version string
  * Stop sorting options on output
  * Move files out of the namespace package
  * Workflow documentation is now in infra-manual
  * Fix wrong order of positional args in cli
  * add tests coverage for an oslo.messaging use case
  * Refactored help string generation
  * Updated from global requirements
  * Updated from global requirements
  * Fix class constant indentation
  * Updated from global requirements
  * Activate pep8 check that _ is imported
  * Updated from global requirements
  * Updated from global requirements
  * Add pbr to installation requirements
  * Updated from global requirements
  * Add some guidance for group names
  * delay formatting debug log message
  * Check config default value is correct type
  * Report permission denied when parsing config
  * Fix docs example using generator config files
  * Updated from global requirements
  * do not use colons in section titles
  * Stop using intersphinx
- Adjust Requires according to requirements.txt
- Adjust BuildRequires according to test-requirements.txt

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=22
2015-04-28 09:25:37 +00:00
9862f3603d OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=21 2015-04-07 11:00:03 +00:00
Dominique Leuenberger
d3d45c39fc Accepting request 288460 from Cloud:OpenStack:Factory
oslo.config>=1.4.0 is needed for python-openstackclient to work (bnc#920180)
all changed Requires/Buildrequires seem to be available

- add temporary workaround for dependencies on 1.4.0.0a3

- update to version 1.4.0:
  * Looks for variable subtitution in the same group
- Fix version Requires for python-netaddr
- Adjust BuildRequires according to test-requirements.txt

- update to 1.4.0.0a4:
  * Updated from global requirements
  * Log a fixed length string of asterisks for obfuscation
  * Added link to bug tracker and documentation in oslo.config readme
  * Bump hacking to version 0.9.2

- update to 1.4.0a3:
  * Changes imports order to pass H305, enables check
  * generator: tweak how MultiStrOpt defaults are handled
  * Add release notes for 1.3.0 and 1.4.0.0a1/2
  * Hook up config fixture docs
  * Hook IPOpt class into the docs
  * Replaced 'e.g.' with 'for example'
  * Add cfgfilter.ConfigFilter
  * generator: remove the default sanitizer feature
  * cfg,generator: add Opt.sample_default attribute
  * generator: refactor MultiStrOpt handling
  * Fix flaws in methods' docstring
  * Introduce Opts for IP addresses
  * Refactors _Namespace to make the code clearer
  * Add oslo-config-generator
  * Add CLI option support to config fixture
  * Updated from global requirements
  * Remove print statement from types.Dict
  * Add warning about interpolating values from groups
  * Add more tests for positional CLI opts
  * Add test case for hyphenated option names
  * Fixes an issue validating max integer values
  * Bump hacking to 0.9.x series
  * Add a doc sample for how to use the required field
  * log: string format arguments changed to function parameters
  * Fix deprecated_opts for cli options
  * Reject option names prefixed with '_'
  * Graduate config fixture
  * Fix test_version on Python 3.4
  * Add section titles and fix markup of docstring
  * Avoid using too generic names in _Namespace
  * Import run_cross_tests.sh from oslo-incubator
  * Move py33 env before py2x
- go back to released version (1.3.0) 

- Update to version oslo.config-1.3.0.29.ge0172be:
  * Updated from global requirements
  * Add more tests for positional CLI opts

- Update to version oslo.config-1.3.0.26.g582e1a3:
  * Remove print statement from types.Dict
  * Add test case for hyphenated option names

- Update to version oslo.config-1.3.0.22.g1746fd2:
  * Fixes an issue validating max integer values
  * Bump hacking to 0.9.x series

- Update to version oslo.config-1.3.0.19.g6c283cd:
  * Updated from global requirements
  * Add a doc sample for how to use the required field

- Update to version oslo.config-1.3.0.16.g8b4bf0f:
  * log: string format arguments changed to function parameters

- Update to version oslo.config-1.3.0.15.g78c2bc9:
  * Fix deprecated_opts for cli options

- Update to version oslo.config-1.3.0.13.gbdb0814:
  * Updated from global requirements

- Update to version oslo.config-1.3.0.11.ga4bb2e4:
  * Add section titles and fix markup of docstring

- Update to version oslo.config-1.3.0.9.g7240ad9:
  * Reject option names prefixed with '_'
  * Fix docstring for _Namespace._get_cli_value

- Update to version oslo.config-1.3.0.5.gb3ed1ac:
  * Graduate config fixture

- Update to version oslo.config-1.3.0.4.g0a66c27:
  * Fix test_version on Python 3.4

- Update to version oslo.config-1.3.0.3.g78225a5:
  * Avoid using too generic names in _Namespace

- Update to version oslo.config-1.3.0.2.g4b8b206:
  * Import run_cross_tests.sh from oslo-incubator

- Update to version oslo.config-1.3.0.1.g1dc9e67:
  * Move py33 env before py2x
  1.3.0

- Update to version oslo.config-1.3.0a0.40.gb347519:
  * Include the 'meta' trove classifiers for python versions

OBS-URL: https://build.opensuse.org/request/show/288460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oslo.config?expand=0&rev=11
2015-03-09 09:08:34 +00:00
7c8b77e7e0 because of bnc#920180 we need version 1.4.0 for python-openstackclient
- go back to released version (1.3.0)
  Replace assertEquals with assertEqual
  Add the ability to validate default options value

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.config?expand=0&rev=20
2015-03-03 15:07:10 +00:00