summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* OpenDev Migration Patchqueens-eolstable/queensOpenDev Sysadmins2019-04-191-1/+1
| | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* sphinxext: Start parsing 'Opt.help' as rSTqueens-em5.2.1Stephen Finucane2019-01-101-6/+18
| | | | | | | | | | | | | | | | | Users expect this to be parsed as rST and write their docstrings accordingly. This has the potential to introduce warnings for users with improperly formatted rST and these warnings can be promoted to errors if 'sphinx-build' is used with the '-W' option. As a result, we disable the 'warning-is-error' logger for these options. We may wish to change this behavior in the future. It is not really possible to test this yet as the output wouldn't look much different. In addition, the error messages generated are rather unhelpful. Both of these can be changed in a future modification. Change-Id: Ic6c2dcbe7823dd3fdc71db8dc5afab2d604559e3 Closes-Bug: #1755783 (cherry picked from commit 03ff144f0bf386982d379d18aeb9183146a05fd5)
* sphinxext: Separate parsing of group and optsStephen Finucane2019-01-102-132/+144
| | | | | | | | This makes it easier to reason about going forward as we're going to make some changes to how this is generated. Change-Id: Iedd19802e612a647bb2f8f1c133344323e597d0e (cherry picked from commit 10b03c6b0fa0659af24eb6236688823b399d802e)
* import zuul job settings from project-configDoug Hellmann2018-08-031-0/+9
| | | | | | | | | | | | | | | This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: Id394d849d97c1fe6a2aea5b881592129cc99832b Story: #2003250
* Merge "Update UPPER_CONSTRAINTS_FILE for stable/queens" into stable/queensZuul2018-04-111-1/+1
|\
| * Update UPPER_CONSTRAINTS_FILE for stable/queensOpenStack Release Bot2018-01-241-1/+1
| | | | | | | | Change-Id: Ib6b617f950f93903ed4f13207f446a3b329923a9
* | Updated from global requirementsOpenStack Proposal Bot2018-02-131-3/+3
|/ | | | Change-Id: Ibe34a0b569751ff11a64d4aac8ed3a5c9e426a4c
* Update .gitreview for stable/queensOpenStack Release Bot2018-01-241-0/+1
| | | | Change-Id: I3b2ad60c069399d19cda01c5971282c1cf2c0d63
* Merge "sphinxext: Don't sometimes emit trailing newlines"5.2.0Zuul2018-01-032-23/+7
|\
| * sphinxext: Don't sometimes emit trailing newlinesStephen Finucane2017-12-132-23/+7
| | | | | | | | Change-Id: I28f82538ef9098c2e5fd2e288302c654422a55e6
* | Merge "Provide descriptions for choices"Zuul2018-01-038-73/+227
|\ \ | |/
| * Provide descriptions for choicesStephen Finucane2017-12-138-73/+227
| | | | | | | | | | | | | | | | | | | | | | Nova uses a common pattern for choices where a 'choices' parameter is provided and the choices are later documented in the help text. This frequently leads to code and docs getting out-of-sync and requires authors to be consistent in how they write option descriptions. Eliminate the need to do this by allowing users to describe the choices in the same place as the choices are declared. Change-Id: Ic084b04ebf232fb72c9c05bbea3a216391b15c83
* | Fix the invalid links for doc file in oslo.configshangxiaobj2017-12-281-2/+2
|/ | | | | | | Replace the invalid links with the right ones for the document according to the newest Openstack website. Change-Id: Id94551a864710231a9d9d23d8632a86439cd61bd
* Remove -U from pip installAndreas Jaeger2017-12-021-1/+1
| | | | | | | | | | | 'pip install -U' ugrades specified packages, this is not necessary since we use constraints, remove the parameter '-U' from the line. With tools/tox_install.sh - which a previous change of mine removed - the -U was not harmful, but with the current set up, it might cause upgrades, so remove it. Change-Id: I400b848c79955a8fcb08cdd46e043660df67589c
* Avoid tox_install.sh for constraints supportAndreas Jaeger2017-12-012-37/+5
| | | | | | | | | | | We do not need tox_install.sh, pip can handle constraints itself and install the project correctly. Thus update tox.ini and remove the now obsolete tools/tox_install.sh file. This follows https://review.openstack.org/#/c/508061 to remove tools/tox_install.sh. Change-Id: I7a266b2209097ff2db0e43076c0e8621cfece5f1
* Clean up enforce_type related test method's nameChangBo Guo(gcb)2017-11-292-17/+8
| | | | | | | | | This is follow up of I8a5e868e0adc2c7b6f46f56ee77a8129c34badb9, need remove enforce_type from test method's name. This commit also remove test_enforce_type_default_override which is duplicated with test_default_override. Change-Id: Ibc7661993247d0510a08c4a890ba7476be8a32b0
* Remove setting of version/release from releasenotes5.1.0Andreas Jaeger2017-11-161-8/+4
| | | | | | | | | | | | | | | | | | Release notes are version independent, so remove version/release values. We've found that projects now require the service package to be installed in order to build release notes, and this is entirely due to the current convention of pulling in the version information. Release notes should not need installation in order to build, so this unnecessary version setting needs to be removed. This is needed for new release notes publishing, see I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting at http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html . Change-Id: I84611e79a2cf4838751b43bd39ceb2d60743fb28
* Updated from global requirementsOpenStack Proposal Bot2017-11-162-2/+2
| | | | Change-Id: Idc5253c597b9ad5f445df0bc73a2779409ab3f6a
* Merge "Make help message include choices information for StrOpt"Zuul2017-11-132-0/+47
|\
| * Make help message include choices information for StrOptChangBo Guo(gcb)2017-11-012-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Config option `StrOpt` accept choices parameter to indicate valid values and include comments "# Allowed values:" when generating sample config file, so it's unnecessary to add allowed values in hep string of the config option. But it doesn't include choices information when printing help for the config option. This commit makes consistency for both of sample config file and help output of command line. Closes-Bug:1727683 Change-Id: I962e49c81bdf44043a6e1233408a6ee5b883acde
* | Merge "Cleanup test-requirements"Zuul2017-11-011-1/+0
|\ \ | |/ |/|
| * Cleanup test-requirementsmelissaml2017-09-251-1/+0
| | | | | | | | | | | | | | | | | | python-subunit is not used directly anywhere and it is dependency of both testrepository and os-testr (probably was used by some tox wrapper script before) Change-Id: Ica73d034bae8235927efe3d5176b58ab95755f0a
* | Merge "Correct documentation error in DeprecatedOpt"Zuul2017-10-301-1/+1
|\ \
| * | Correct documentation error in DeprecatedOptLance Bragstad2017-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | I was reading the DeprecatedOpt code and stumbled across what looks like a typo. Change-Id: Id4e43f31c8acb3475cdafc64a2ee08d932529456
* | | Merge "Remove the parameter enforce_type from set_override and set_default"5.0.0Zuul2017-10-254-52/+11
|\ \ \ | |/ / |/| |
| * | Remove the parameter enforce_type from set_override and set_defaultSean Pryor2017-10-254-52/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | It's no longer possible to assign a value of a different type in the config via an override. This behavior was changed in the last release to default to disallow overrides of different types, and in this release it is no longer able to be overridden Change-Id: I8a5e868e0adc2c7b6f46f56ee77a8129c34badb9
* | | Prefer SNAP_COMMON config files4.13.2James Page2017-10-062-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User provided configuration files in $SNAP_COMMON should always be preferred over snap provided default config files in $SNAP. Re-order the target location list in _get_config_dirs to ensure that files in $SNAP_COMMON are selected over those in $SNAP. Change-Id: I7cba87ab328edc05b1e6edd1ff512e8fd5192638
* | | Implement OptGroup.__str__ for log messages4.13.1Matt Riedemann2017-09-262-0/+4
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | This log message has been around since change I6e28c25f04273f7def486fadd541babc8cf423cb. The OptGroup doesn't implement __str__ so the warning message isn't helpful. This change implements __str__ to return the group name so the warning message actually helps people. Change-Id: Ie6d218e7f6ea846b1f7d7f8452cc07f0be9e32a5 Closes-Bug: #1719032
* | Updated from global requirements4.13.0OpenStack Proposal Bot2017-09-211-1/+1
| | | | | | | | Change-Id: I5e24fa93d46149c2219b92ce6ada28c1392ea85b
* | Merge "Fix sphinx option generation when advanced=True"Jenkins2017-09-202-7/+7
|\ \
| * | Fix sphinx option generation when advanced=TrueThomas Morin2017-09-142-7/+7
| |/ | | | | | | | | | | | | | | The lines produced for an option for which advanced=True were not parsed correctly by sphinx. Change-Id: Iec6997ee26f618ba6d5250f0597c83b4a3df02cd Closes-Bug: 1716384
* | Use boolean where expectedStephen Finucane2017-09-191-1/+1
|/ | | | | | | | | The 'ignore_case' should be a boolean. Make it so and avoid the momentary confusion where you figure out why this works. TrivialFix Change-Id: I66ce1b4f00cdeefb901a8bbdb30dcadc41e9b83f
* Updated from global requirementsOpenStack Proposal Bot2017-09-111-2/+2
| | | | Change-Id: I63f843b4d592e00a316b073f2984a187b90e1f34
* Remove redundant colon in doc4.12.0Yaguo Zhou2017-08-291-1/+1
| | | | | | | ".. code-block:: shell" appears in the generated doc html by mistake because of the redundant colon in the doc source Change-Id: I5c54fd48a7705cb7d84016707a4bb51e8dd79b2a
* Updated from global requirementsOpenStack Proposal Bot2017-08-182-3/+3
| | | | Change-Id: I0ec640ea8651d684e71229098581c948b1857508
* Merge "Fix the incorrect file path"Jenkins2017-08-041-1/+1
|\
| * Fix the incorrect file pathchenxing2017-07-231-1/+1
| | | | | | | | Change-Id: I6f59eeff1913263c9dad2ce2ec433aa17c30255a
* | Merge "Added exception when namespace option is missing"Jenkins2017-08-042-3/+9
|\ \
| * | Added exception when namespace option is missingKiseok Kim2017-07-252-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oslo-config-generator command raises an error when user execute the command without namespace option. this patch adds printing help message and warning, when oslo-config-generator command is executed without "--namesapce" option. Change-Id: I1683bbbc87344695517df70271d6fcbed4852f35 Closes-Bug: #1704372
* | | Merge "Empty groupname will be 'DEFAULT' by default"Jenkins2017-07-312-3/+7
|\ \ \
| * | | Empty groupname will be 'DEFAULT' by defaultYuval Brik2017-07-252-3/+7
| | |/ | |/| | | | | | | | | | | | | | | | | | | By default, if the groupname is None, set it to 'DEFAULT'. Seems like several libraries are exporting such groups, and it causes sorting the 'by_section.items()' list to fail. Change-Id: I2001dc4894ff1e24c0eaed9ba71e3c5fba02ae36
* | | Update reno for stable/pikeOpenStack Release Bot2017-07-282-0/+7
| | | | | | | | | | | | Change-Id: I66f64cef39693c0c03521b921f00dde9f2dd3813
* | | Updated from global requirementsOpenStack Proposal Bot2017-07-271-1/+1
|/ / | | | | | | Change-Id: I625d06c221ca2d5fa3466cdc2cacc2828a115723
* | add rst output mode for config generator4.11.0Doug Hellmann2017-07-201-2/+27
| | | | | | | | | | | | | | | | | | | | When a documentation build fails, it can be difficult to determine why. Providing RST output for the config generator will allow a contributor to look at the documentation being parsed by Sphinx to find issues. Change-Id: I4f9babc243d4a307bedd84dd4ff60f82cd16f8db Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | fix formatting of literal default values with spacesDoug Hellmann2017-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | When the RST parser encounters a literal value with spaces before the closing backticks, it misinterprets that as an unclosed literal expression. Fix the logic that used to add quotes around such lines, both to make the values more visible to readers of the documentation and to fix the parsing issue. Change-Id: I1bfd675d6611c59f4b3cc4816d48dbb199340bec Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "fix an issue with looking up deprecated option names in code"4.10.0Jenkins2017-07-192-0/+18
|\ \
| * | fix an issue with looking up deprecated option names in codeDoug Hellmann2017-07-182-0/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | In I6e28c25f04273f7def486fadd541babc8cf423cb we tried to add the ability to look for a deprecated option using its old name but finding the value associated with the new name, similar to how the lookup works when reading values from config files. That patch did not account for group values that are objects not strings. This fixes the oversight. Change-Id: I98e18e88626164b365466ff476125d41cc8641ec Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Fix python 3.6 escape char warnings in strings"Jenkins2017-07-181-17/+17
|\ \
| * | Fix python 3.6 escape char warnings in stringsEric Harney2017-07-181-17/+17
| |/ | | | | | | | | | | | | | | | | In python 3.6, escape sequences that are not recognized in string literals issue DeprecationWarnings. Convert these to raw strings. Change-Id: Ibfefa7467c29bcb30c65f3c5d296daa8cc1ff7be
* | handle option defaults that are not stringsDoug Hellmann2017-07-183-2/+37
|/ | | | | | | | | | | | | The sample config generator and sphinx integration are breaking when option defaults are not strings. This shows up in cinder, so this bug is preventing cinder from adopting the sphinx integration for showing configuration options. Fix the rendering in the generator, and in the type class for list options. Change-Id: Ib8a248b6dc695b6afe4f1e760af836ac664fa137 Signed-off-by: Doug Hellmann <doug@doughellmann.com>