666 Commits

Author SHA1 Message Date
Andreas Jaeger
d874fecc91 Remove venv tools
We do not use these files anywhere, so let's remove them.
Usage of tox is recommended instead.

Change-Id: Ie95eb5850c55c0ac1a1e6f66fc80e2f3bf1b9301
2015-04-29 09:31:58 +02:00
Jenkins
505368e524 Merge "autohelp: updated to include vmware-nsx options" 2015-04-28 20:14:52 +00:00
Gauvain Pocentek
f012ae9919 extract_swift_flags: strip help strings
This patch strips help strings to avoid niceness gate failures because
of whitespaces.

Change-Id: Ib0c6595c7d30ec7d07f1b6568cbbfbccd63f8689
2015-04-28 17:15:23 +02:00
Gauvain Pocentek
b3c45cd3b7 autohelp: updated to include vmware-nsx options
This patch includes the vmware-nsx github repository and updates the neutron
hook to import the neutron NSX options.

Change-Id: I0afefd637f2b13332692c0e1a93a730b3bc11a72
2015-04-27 16:04:39 +02:00
Gauvain Pocentek
b2b72bd32b autohelp: add a neutron hook
Import and call some plugins methods to bring back their options.

Change-Id: Ie1ef9556b2b54a2f3b6dfe251a430ae8438233bc
2015-04-24 16:00:59 +02:00
Jenkins
b2ceef6cd6 Merge "autohelp: lookup options in more oslo libraries" 2015-04-24 10:31:54 +00:00
Gauvain Pocentek
b34cbe08e9 Update RELEASE_NOTES.rst for the 0.25 release
Change-Id: If7fa35fe52a1086fa71b69d9f8668bf8ebfb90fc
2015-04-24 12:19:00 +02:00
Gauvain Pocentek
71b8d2175f autohelp: lookup options in more oslo libraries
Change-Id: I24942de43dbe04256f511ee372f203942f555cce
2015-04-24 12:11:58 +02:00
Jenkins
3391e045d3 Merge "Use parameter instead of option" 2015-04-24 04:20:54 +00:00
Jenkins
bfa9600b5b Merge "Handle RST languages and drafts" 2015-04-24 04:02:38 +00:00
Jenkins
46d3c8f8d5 Merge "autohelp-wrapper: reorganise project dependencies" 2015-04-24 04:00:53 +00:00
Jenkins
12543c3870 Merge "autohelp-wrapper: build one venv per project" 2015-04-24 04:00:29 +00:00
Christian Berendt
2af10c9992 Use parameter instead of option
Change-Id: I042ce268840f2c0ad57305c071ceeea74b1423c4
2015-04-23 22:04:48 +02:00
Gauvain Pocentek
d3f4a25d43 autohelp-wrapper: reorganise project dependencies
This patch moves the explicit dependencies for projects in their own
requirement file.

Install a bunch of new neutron dependencies (drivers moved to their own
dependencies).

Change-Id: I8cab9861a5546f270499f626b06e44ad0185477d
2015-04-23 19:01:50 +02:00
Gauvain Pocentek
906d27c9f6 autohelp-wrapper: build one venv per project
To make sure that projects don't import and expose configuration options
that belong to other project we now build a virtual environment for each
project.

The script execution takes more time but the result is more accurate.

Change-Id: Ied1524de7282bca560883c3503d36a86098309b8
2015-04-23 17:55:45 +02:00
Andreas Jaeger
8509b5cb95 Handle RST languages and drafts
Enhance doc-tools-check-languages to handle translation of RST languages
and publishing of draft languages to /draft/

Partially implements bp draft-publishing

Change-Id: I7fd78228cfaa6e878ebdbf1432514ca453deec30
2015-04-23 07:20:29 +02:00
Andreas Jaeger
a21cf5f375 Remove /draft from sitemap
Do not include /draft in sitemap.

Paritally implements bp draft-publishing

Change-Id: Iddfef2933c7a397da6f084da1285716b0078ea06
2015-04-18 09:43:10 +02:00
Andreas Jaeger
11b7494d90 Capitalize project names correctly
Update capitalization of project names.

Change-Id: Id816776b594ad4cf0e630d08251fbc7b084c083e
2015-04-14 21:10:26 +02:00
Andreas Jaeger
66843e2440 Update RELEASE Notes for 0.24 release
Change-Id: I8661d8ff29f65a1ef4fc5bf66a66f060f4800213
0.24
2015-04-09 20:14:37 +02:00
Sripriya
52703b9969 Update README.rst notes for Neutron project due to recent vendor decomposition.
Change-Id: I0f86cdd78778d7a4b1abcf76d72c57ff5bc68a0d
2015-04-07 14:56:30 -07:00
Jenkins
5286dcae17 Merge "Handle User Guides" 2015-04-04 13:35:28 +00:00
Jenkins
9b9b7a598e Merge "autohelp: strip help strings on dump too" 2015-04-03 19:33:53 +00:00
Jenkins
642ce4cc6f Merge "autohelp: update the ignored modules list" 2015-04-03 19:33:35 +00:00
Andreas Jaeger
3f4165265a Handle User Guides
Handle guides that have no content subdirectory for creation of the
preview index.html file. Examples are the User Guides.

Change-Id: I4c647ee997a4776011db2677d2a84237989f0a06
2015-04-03 21:27:47 +02:00
Gauvain Pocentek
ffc688413d swift flag: handle XML in help strings
Some swift help strings use XML tags that were not properly managed and
resulted in truncated string. This patch workarounds the problem by
dropping the XML flags.

Change-Id: I13ba4a9a840c93e3933bbeaaec2d84651efeff2e
2015-04-02 15:38:55 +02:00
Gauvain Pocentek
044850f8cc autohelp: strip help strings on dump too
Change-Id: I639ffd4352b8e9b09debaca01fa2befd79ecf466
2015-04-02 15:13:42 +02:00
Gauvain Pocentek
05d96ac900 autohelp: update the ignored modules list
This includes 2 glance contrib modules, and the experimental pgsql trove
modules.

Change-Id: If18946b1cda5c5742f554b0635789415a50c02b8
2015-04-02 13:05:09 +02:00
Jenkins
1b5f0b0360 Merge "[commands] extract correct version string when client is deprecated" 2015-03-29 15:28:43 +00:00
Christian Berendt
1d99c0725c [commands] add a deprecation note for python-keystoneclient
Change-Id: Id99bbef0e9c71568b2dc018221ed2b8a1cb00110
2015-03-26 14:08:49 +01:00
Christian Berendt
d1a9fc4f90 [commands] extract correct version string when client is deprecated
With the deprecation of python-keystoneclient the output of keystone
--version changed to:

DeprecationWarning: The keystone CLI is deprecated in favor of
python-openstackclient. For a Python library, continue using
python-keystoneclient. 'python-keystoneclient.', DeprecationWarning)
1.3.0

Because of that it is necessary to only handle the last line of the
output to extract the version string.

Change-Id: Ibdfaa1de4f1c8880ce1a049fec9bea3004c11fea
2015-03-26 13:21:52 +01:00
OpenStack Proposal Bot
8c32f5043a Updated from global requirements
Change-Id: Iecd0b809bca2522f29e966180bce578aa310f20c
2015-03-21 00:15:01 +00:00
Jenkins
dbecf8307f Merge "Handle SPECIAL_BOOKs in doc-tools-check-languages" 2015-03-13 07:40:25 +00:00
Jenkins
4d18453dcf Merge "Add wrapper script to update CLI references" 2015-03-12 15:18:11 +00:00
Christian Berendt
562179013d Add wrapper script to update CLI references
doc-tools-update-cli-reference is a wrapper script to update
CLI references in the openstack-manuals repository.

Change-Id: I27f81d783db70206e4fdd1110da354bc9df90b70
2015-03-12 15:53:20 +01:00
Andreas Jaeger
30452280a2 Handle SPECIAL_BOOKs in doc-tools-check-languages
For now ignore RST books.

Change-Id: I5bf582ebc3bd4333e7bf6982d1c91da6eef8cf57
2015-03-10 20:15:42 +01:00
Jenkins
781b6e2ed4 Merge "Rework the autohelp serialization of options" 2015-03-09 09:55:39 +00:00
Jenkins
259f460553 Merge "autohelp: fix the nova_spice hook on juno" 2015-03-09 09:55:31 +00:00
OpenStack Proposal Bot
6c538783ae Updated from global requirements
Change-Id: Ifb168792c019fe5ef77a4a8a0e43b71bd9d56074
2015-03-05 04:55:34 +00:00
Gauvain Pocentek
87436ae530 autohelp: fix the nova_spice hook on juno
Change-Id: I7949840718958de315b7759658bb17d3a9e37a23
2015-03-03 17:18:27 +01:00
Gauvain Pocentek
223286cadc Rework the autohelp serialization of options
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
2015-03-03 17:13:18 +01:00
Christian Berendt
d781310e04 [autogenerate_config_docs] use filename tags to mark filenames
According to the markup conventions the filename tag should be
used to mark filenames.

Change-Id: I658b060df81ac62d68e6aafe3db40d71cb7e79cb
2015-03-02 10:14:22 +01:00
Christian Berendt
60fae1d6e9 [commands] use --os-auth-type token only for python-openstackclient
After the merge of I14c9479ef7ded7b7c62b0d976706e3d7e26a6cd6 the
additional parameter --os-auth-type token is used for every client. This
is wrong, the additonal parameter should only be used when generating
documentation for the python-openstackclient.

Change-Id: I801637691bfd4298859ee539c5adaf0943330836
2015-02-27 11:58:26 +01:00
Christian Berendt
25847ba82c [commands] fix generator for latest python-openstackclient
* suppress deprecation warning messages

UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for
novaclient.v2). The preferable way to get client class or object you can
find in novaclient.client module.
  warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis
for "

* use --os-auth-type token to make the openstack help command workable

ERROR: openstack Authentication type must be selected with
--os-auth-type

* add new commands

Change-Id: I14c9479ef7ded7b7c62b0d976706e3d7e26a6cd6
2015-02-26 14:40:34 +01:00
Christian Berendt
d124f83643 Use yaml.safe_load() instead of yaml.load()
According to Bandit yaml.safe_load() should be used instead of
yaml.load().

Use of unsafe yaml load. Allows instantiation of arbitrary objects.
Consider yaml.safe_load().

Change-Id: I7dd536c61ff53bf0b07cf4681df64fbec99140b6
2015-02-24 14:05:19 +01:00
Andreas Jaeger
658f29cc2e Build index even for RST only change
Build the index.html file also when only RST files changed.

Change-Id: I50a59fad6a5ca5deda8c6aad6ad2667f9b16321a
0.23
2015-02-23 15:49:14 +01:00
Andreas Jaeger
fbef0ea1c1 Handle RST files
Do not build all manuals if only RST files are changed.

Change-Id: Ie0790d7bebd676c9430a4295fe4421cbd74cbd8c
2015-02-23 14:14:52 +01:00
Jenkins
9912bdd294 Merge "autohelp: don't ignore cmd/ folders" 2015-02-22 07:46:39 +00:00
Gauvain Pocentek
3d2f91cf8e autohelp: don't ignore cmd/ folders
These folders used to bring command line options that we don't want to
have in the generated tables, but the behavior has changed. This patch
restores the import of files in the cmd/ folders, and handles special
cases where the import is problematic.

Change-Id: I0779e0f689d2f6f64149c3d111a8dd1ecd6cfc20
Partial-Bug: #1363954
2015-02-19 21:06:24 +01:00
Andreas Jaeger
ec79ad5672 Add option --ignore-book
This allows for example to properly ignore the Install Guides from getting
build and published.

Change-Id: Id957ec3cdfc2f67f039bbca76950dd4a1d8c34a6
Partial-Bug: #1423302
0.22
2015-02-18 20:17:17 +01:00
Jenkins
fa6b41b2ad Merge "Update sitemap generator" 2015-02-16 06:22:25 +00:00