summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Looks for variable subtitution in the same group"1.4.0.0a51.4.0Jenkins2014-09-122-8/+64
|\
| * Looks for variable subtitution in the same groupMehdi Abaakouk2014-09-102-8/+64
| | | | | | | | | | | | | | | | | | | | | | | | When we do a variable subtitution we must try to look if the option is avialable into the same group and then into the default one for backward compatibilty. Otherwise variable subtitution doesn't works when we change the group of an option and deprecated the DEFAULT group. Change-Id: Ie5750ee028a58fba6da225a8c4b4221e23db829f Closes-bug: #1367790
* | Merge "warn against sorting requirements"Jenkins2014-09-112-0/+8
|\ \ | |/ |/|
| * warn against sorting requirementsDoug Hellmann2014-09-032-0/+8
| | | | | | | | | | Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e Addresses-Bug: #1365061
* | Merge "Explain groups for DeprecatedOpts"Jenkins2014-09-081-0/+12
|\ \
| * | Explain groups for DeprecatedOptsFlavio Percoco2014-09-031-0/+12
| |/ | | | | | | | | | | | | | | The patch extends the documentation for `DeprecatedOpt` and explains that group==None means the deprecated name will be looked up in the same group. Change-Id: I54ba414d6a6862e1b00dfbf589563ef9f4df5cf3
* | Merge "Work toward Python 3.4 support and testing"Jenkins2014-09-081-1/+1
|\ \
| * | Work toward Python 3.4 support and testingJeremy Stanley2014-09-031-1/+1
| |/ | | | | | | Change-Id: Iadb1b695b8314d385716619561a1604a41f6c8d5
* | Updated from global requirements1.4.0.0a4OpenStack Proposal Bot2014-09-042-3/+3
|/ | | | Change-Id: Id105ee1d495144517a684edd49116cba24060529
* Merge "Log a fixed length string of asterisks for obfuscation"Jenkins2014-08-062-2/+2
|\
| * Log a fixed length string of asterisks for obfuscationZhongyue Luo2014-08-052-2/+2
| | | | | | | | | | Change-Id: I98e95dbc92712bebb18dcf0d29af7cfe7f2c8124 Closes-bug: #1341774
* | Merge "Bump hacking to version 0.9.2"Jenkins2014-08-061-1/+1
|\ \ | |/ |/|
| * Bump hacking to version 0.9.2Christian Berendt2014-07-161-1/+1
| | | | | | | | Change-Id: I4cb68964ccbc1ca54c242ad1b745229bb218bea5
* | Added link to bug tracker and documentation in oslo.config readmeChandan Kumar2014-07-251-0/+6
|/ | | | | Change-Id: Ib92ca4f0f764ccf0e4f7680a0c30194bbe708d92 Closes-Bug: #1321953
* Update 1.4.0.0a2 release notes1.4.0.0a3Mark McLoughlin2014-07-111-1/+2
| | | | | | One last change got merged before tagging. Change-Id: I82e6c3c8a47966330e809e80897311e951af0f13
* Merge "generator: tweak how MultiStrOpt defaults are handled"1.4.0.0a2Jenkins2014-07-102-3/+32
|\
| * generator: tweak how MultiStrOpt defaults are handledMark McLoughlin2014-07-092-3/+32
| | | | | | | | | | | | | | | | | | | | | | If a MultiStrOpt default is set to None or [], the best thing to do is just add: #multi_str_opt = to the sample config file. Change-Id: Ibaee466978870082be47a2135ae3f412d3efd623
* | Merge "Changes imports order to pass H305, enables check"Jenkins2014-07-103-3/+2
|\ \
| * | Changes imports order to pass H305, enables checkPetr Blaho2014-07-093-3/+2
| |/ | | | | | | | | | | | | Changes imports order to pass H305 check with hacking 0.9.x Removes H305 check from ignore line in tox.ini Change-Id: I47bbe74f4178f46ea21fc37b69f53ea2d148a65e
* | Add release notes for 1.3.0 and 1.4.0.0a1/2Mark McLoughlin2014-07-081-1/+187
| | | | | | | | | | | | | | | | | | We appear to have stopped doing these since the 1.2.0 release, but I like to do them because it helps highlight new APIs, behavior changes, important bug fixes, new dependencies and also allows us to credit the contibutors in a nice and friendly way. Change-Id: I7dd6641a840dee0082c6c9e9216184f385869519
* | Hook up config fixture docsMark McLoughlin2014-07-082-0/+9
|/ | | | Change-Id: I2da6ecfc2fafb09e8ce69733204a456b0e962ab6
* Hook IPOpt class into the docsMark McLoughlin2014-07-081-0/+1
| | | | Change-Id: I02b38b89f32db8b03a94467cdf5c6ff1c8865f2b
* Merge "Replaced 'e.g.' with 'for example'"Jenkins2014-07-082-14/+15
|\
| * Replaced 'e.g.' with 'for example'Christian Berendt2014-07-072-14/+15
| | | | | | | | | | | | | | According to the IBM Style Guide the Latin abbreviation 'e.g.' should be replaced by 'for example'. Change-Id: Ie85eec0f028a927a635303f7c13e76fe52a92ff5
* | Merge "generator: remove the default sanitizer feature"Jenkins2014-07-072-77/+2
|\ \ | |/ |/|
| * generator: remove the default sanitizer featureMark McLoughlin2014-07-022-77/+2
| | | | | | | | | | | | | | | | | | | | Now that we have an Opt.sample_default attribute, it's not very clear we have a good use case for the sanitizer feature. Any default that we'd want to sanitize in this way could probably just use sample_default instead. blueprint: oslo-config-generator Change-Id: Ifd02bb66a2033afdaa5812b15941d2d485165863
* | Merge "cfg,generator: add Opt.sample_default attribute"Jenkins2014-07-073-4/+48
|\ \ | |/
| * cfg,generator: add Opt.sample_default attributeMark McLoughlin2014-07-023-4/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some default values for configuration options are dynamic and environment dependent. For example, an option might default to the hostname of the machine. However, such default values should never end up in a sample configuration file - you don't want your hostname or path to your personal home directory to be included in sample config files. A simple solution to this is to add a 'sample_default' string attribute which is used in place of a default, for those cases where the real value is an unsuitable sample default. For example: cfg.StrOpt('hostname', default=get_my_host(), sample_default='myhostname') blueprint: oslo-config-generator Change-Id: I319d128a0a88b1197d8e2be105681f2b56240439
* | Merge "generator: refactor MultiStrOpt handling"Jenkins2014-07-071-23/+24
|\ \ | |/
| * generator: refactor MultiStrOpt handlingMark McLoughlin2014-07-021-23/+24
| | | | | | | | | | | | | | This code was just confusing. Explicitly handle MultiStrOpt differently from other types to make things more clear. Change-Id: Ib6a01f76595c8874809c4d6db969ea8200d6fbb2
* | Merge "Add cfgfilter.ConfigFilter"Jenkins2014-07-057-0/+667
|\ \ | |/ |/|
| * Add cfgfilter.ConfigFilterMark McLoughlin2014-07-037-0/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new class designed to wrap cfg.ConfigOpts, with the following use cases in mind: 1. Help enforce that a given module does not access options registered by another module, without first declaring those cross-module dependencies using import_opt(). 2. Prevent private configuration opts from being visible to modules other than the one which registered it. blueprint: oslo-config-cfgfilter Change-Id: I477f7027806d7630ce91159fb274f41c0c203770
* | Merge "Add oslo-config-generator"Jenkins2014-07-026-0/+864
|\ \
| * | Add oslo-config-generatorMark McLoughlin2014-06-266-0/+864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sample config file generator utility. This is a dramatically different approach from the generator in oslo-incubator, whereby we move away from magic towards much more explicit control over the generator. blueprint: oslo-config-generator Closes-Bug: #1300546 Change-Id: I15686708fc9460948a58cfea3d18dae40ba1fda9
* | | Merge "Add CLI option support to config fixture"Jenkins2014-07-022-3/+54
|\ \ \
| * | | Add CLI option support to config fixtureMark McLoughlin2014-06-252-3/+54
| |/ / | | | | | | | | | | | | | | | | | | oslo.config.fixture.Config has register_opt() and register_opts() but not register_cli_opt() and register_cli_opts(). Change-Id: I8a1582dc0deb0230eb02b0894a49398f333375fe
* | | Merge "Fix flaws in methods' docstring"Jenkins2014-06-301-2/+2
|\ \ \
| * | | Fix flaws in methods' docstringliu-sheng2014-06-301-2/+2
| | | | | | | | | | | | | | | | Change-Id: Idaebbc5702daeabc22b44672ce7b7d301a725871
* | | | Introduce Opts for IP addressesJakub Libosvar2014-06-305-0/+113
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to validate correct input values for IP addresses new Opt was introduced. Validation is done on parsing level so there is no need to explicitly check for valid ip address in the code. Requirement for netaddr package was added. DocImpact Change-Id: I9adc30d9b989e8c636fefd435885c4c363ca540c Partial-Bug: #1284684
* | | Refactors _Namespace to make the code clearerDavid Stanek2014-06-271-9/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The original implentation of _Namespace._get_cli_value relied on the fact that _Namespace.default doesn't exist and accessing it would raise an AttributeError. This attribute was being caught for another reason so the logic just worked. The more correct thing to do would have been to just raise a KeyError. This change does that and removes the need to catch an AttributeErrors. Change-Id: I963b31ea6ea8ab5180314be7cd2450395263e1af Closes-bug: #1284968
* | Merge "Add warning about interpolating values from groups"1.4.0.0a1Jenkins2014-06-192-1/+13
|\ \
| * | Add warning about interpolating values from groupsDoug Hellmann2014-06-172-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a warning explaining that options in groups cannot be used with the interpolation syntax. Reformat note to use directive so it is highlighted. Add "docs" section to tox.ini to make testing doc build easier. Change-Id: If5106aa44d4c87abe84a7fb7a250541bba9f5068
* | | Merge "Add more tests for positional CLI opts"Jenkins2014-06-191-1/+28
|\ \ \
| * | | Add more tests for positional CLI optsMark McLoughlin2014-06-161-1/+28
| |/ / | | | | | | | | | | | | | | | | | | Add tests to ensure that e.g. default=None, default=[], etc. works as expected. Change-Id: I66f5df6e622a66faa1d00ee0846cbec5eb119283
* | | Updated from global requirementsOpenStack Proposal Bot2014-06-192-2/+2
| | | | | | | | | | | | Change-Id: I4f210812d4b2df3992b8444f384839b36f807123
* | | Merge "Add test case for hyphenated option names"Jenkins2014-06-181-1/+128
|\ \ \
| * | | Add test case for hyphenated option namesMark McLoughlin2014-06-151-1/+128
| |/ / | | | | | | | | | | | | | | | | | | | | | Add some tests to show the broken behaviour in #127993 and to help ensure that fixing it doesn't break correct behaviour in other places. Related-Bug: #1279973 Change-Id: I69b2c4e3f27a3e193ca10cef32dd752d6a6fcc8b
* | | Merge "Remove print statement from types.Dict"Jenkins2014-06-181-1/+0
|\ \ \ | |/ / |/| |
| * | Remove print statement from types.DictRadomir Dopieralski2014-06-181-1/+0
| | | | | | | | | | | | | | | | | | | | | Probably left after some debugging session. Change-Id: I8aa427b5f61f695d1c2fed016816844efeea7b8b Closes-bug: #1331449
* | | Merge "Bump hacking to 0.9.x series"Jenkins2014-06-142-1/+2
|\ \ \