DevStack supporting tools in python
Go to file
Andreas Jaeger 5cd82ebdad Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_auto_name to use 'project' as name.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: If718e3d21c682dd3a3d297cfa9cebb333d59aef3
2020-05-22 17:26:10 +00:00
devstack Update hacking for Python3 2020-03-31 02:57:23 +00:00
doc Switch to newer openstackdocstheme and reno versions 2020-05-22 17:26:10 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-05-22 17:26:10 +00:00
.coveragerc Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.gitignore Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:58 +00:00
.mailmap Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.testr.conf Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
.zuul.yaml Add publish-openstack-docs-pti to .zuul.yaml 2020-04-22 10:49:23 +09:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2020-04-22 02:20:09 +00:00
HACKING.rst Optimizing the safety of the http link site in HACKING.rst 2018-11-16 08:48:23 +08:00
LICENSE Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
MANIFEST.in Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
README.rst update help for dsconf 2017-01-19 16:25:51 -05:00
babel.cfg Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
requirements.txt Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-02-03 12:41:30 -06:00
setup.py Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00
test-requirements.txt Add publish-openstack-docs-pti to .zuul.yaml 2020-04-22 10:49:23 +09:00
tox.ini Add publish-openstack-docs-pti to .zuul.yaml 2020-04-22 10:49:23 +09:00

README.rst

devstack-tools

Devstack Helper Tools in Python

This is a set of cli tools for supporting devstack. It moves some of the complexity out of bash and into python where it's easier to have comprehensive testing of behavior.

Currently this includes the dsconf tool, which provides a cli for manipulating local.conf and ini files.

usage: dsconf [-h]
            {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
            ...

optional arguments:
  -h, --help            show this help message and exit

commands:
  {iniset,inicomment,iniuncomment,inirm,extract-localrc,extract,setlc,setlc_raw,setlc_conf,merge_lc}
                      sub-command help
  iniset              set item in ini file
  inicomment          comment item in ini file
  iniuncomment        uncomment item in ini file
  inirm               delete item from ini file
  extract-localrc     extract localrc from local.conf
  extract             extract and merge config from local.conf
  setlc               set variable in localrc of local.conf
  setlc_raw           set raw line at the end of localrc in local.conf
  setlc_conf          set variable in ini section of local.conf
  merge_lc            merge local.conf files

Features

  • TODO