Changes to autohelp.py have broken the diff_branches.py script. This
patch fixes the script:
- add a ``dump`` subcommand and a ``-q`` (quiet) option to
autohelp-wrapprt
- use these options in diff_branches.py
- remove the dependency on python-git as it is not needed anymore.
Change-Id: I5d5a7e7141e1a0df1c86d52daae35fe5f33f239b
The list of projects being worked on by the script was hardcoded. This
patch adds the possibility to pass the list of projects to work on as
arguments on the command line.
Remove a project-list-related special case for trove on havana.
Change-Id: I7eb282fe9050a9c9367ee1ad72d9adbf6db29063
- wrapper: upgrade setuptools in the generated venvs
- swift: read from docbook on liberty
- swift: ignore :ref: directives
- swift: remove a bogus sys.exit(0)
Change-Id: If983da606e51f39c9e331aa27c3e3598abc695fe
Generating docbook using lxml works fine, but the switch to RST tables
will make the code more diffiicult to read and maintain. Using jinja
templates will shorten the code and avoid dealing with complicated code.
This patch implements the use of jinja for docbook tables, and will ease
the implementation of RST output.
Change-Id: Ia5a75ced773b7e6e8faa7f89cb7620d986c47718
This includes:
* update on requirements/neutron-kilo.txt
* update of autohelp-wrapper to make sure that dependencies are properly
installed
* update of diff_branches.py itself (to handle the multiple -i arguments passed
to autohelp.py
Change-Id: I099fba5d09a5e964c93d7e8c677d5556b4fa62eb
Add options containing DEPRECATED in their help strings to the deprecation list.
Change-Id: Ie61b71754b02c8d97019aea71f0b1e1d4862e95e
Partial-Bug: #1433367
The latest patches have broken the diff_branches script because we lost
compatibility with pre-kilo releases. This patch restores support for
juno.
Change-Id: I8b4067ca925fe4ef39d9853020f28b100054e2db
Using oslo.config objects in pickle leads to multiple import problems on
deserialization. Since we don't actually need oslo objects, we convert
them into dicts before dumping them.
Change-Id: Icbd1a3957e4d4ae05fe6227fbdd1cb58e5a3a98d
Change diff_branches.py to generate the config-changes file with an
xml:id that always contains the release name instead of the name of
the new branch. This way it can be avoided that the id changes, when
stable branch is cut close to the end of a release cycle.
Change-Id: I96ef56fef7dac98f344296d1217586326740b46e
Pickle needs to access some classes available during the serialization
in autohelp.py, so add the sources in the python path to make sur that
the deserialization works.
Change-Id: I3295ebd0cf763984b2d052075d3285e1451db2cb
wrapper:
- Don't modify the openstack-manuals repo if it exists, keep it as is
git wise (no branch change, no pull)
- Install oslo.i18n and hplefthandclient
- First setup the environment, then do the update/docbook work
autohelp.py:
- Handle projects not using oslo.i18n (mostly for havana)
diff_branches.py:
- Update the output format
- Setup the venv for the requested projects only
Change-Id: I48c45a56f4b7b7298fef0b7595d62e445c92df39
The diff_branches script stores the location of options as a simple
string, which differs from what the user actually see in the config
file. This patch improves the output of the option name depending on its
format in the 'dump' output.
We add brackets around the [section_name], and handle the file names for
swift options.
Change-Id: I03e12fc04f1e6f2f0831534cdff6dac048d76d92
Require at least 0.9.1 because 0.9.0. had a minor bug.
This change also fixes all found issues.
Rewrote some docstrings to fit H405.
Change-Id: Ifeef11b783dbe70b2652d2b9ea29d5b20f69f2ce
diff_branches.py generates a listing of the configuration options
changes that occured between 2 openstack releases.
This involves a few changes in other tools:
- the 'dump' subcommand for autohelp.py generates the serialized dict of
options
- add a special case for the 'bindir' option to avoid getting different
default values in different virtual environments
- the autohelp-wrapper -e switch builds the needed venv without
running autohelp.py commands
Change-Id: I80da172b91b8d2f0a15f89f4c812864da2fea471