| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I2bf8e7e5469f04edaf0f67dfa3146db96c4f4f6e
Story: #2002586
Task: #24320
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: If95c8839b821047a3458d23536bbf5ab5f1cedf4
|
| |
| |
| |
| |
| |
| |
| |
| | |
In version 0.7.3, cmd2 moved the parsed method from class Cmd()
to class ParserManager().
Change-Id: Ie0c057ffaeaa05c4f5e0f3599aab850245c55066
Closes-Bug: #1751822
|
|/
|
|
|
|
|
|
|
|
|
| |
cmd2 released a python3 only versions of itself. We need to update
requirements to handle it. This updates requirements to match
requirements. See https://review.openstack.org/570811 for more details.
Depends-On: I568e649ec5fdd0bf875d7ac3ff630e9b6bae6426
Change-Id: I3d527ba30205c9f3b3b2e89f795ee5611422c013
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
(cherry picked from commit 5e4b3bedc073bed61716ae7e47780d8192a1c34f)
|
|
|
|
| |
Change-Id: I368134c796ec49c62ac547ad9c683fcb26c6ea0d
|
|
|
|
|
|
|
|
|
|
|
| |
Cliff normally uses short option name aliases which are global
in to the CLI. We want commands to not use them due to the
limited number and ease of collision. However this one
was already in use by a well-known plugin so we will not take it.
Change-Id: Id348dad450b52716b82d7852d6378ecc48808f26
Closes-Bug: #1743578
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ |
|
| |
| |
| |
| |
| |
| | |
openstack-common.conf is empty file. We probably should remove it.
Change-Id: I91afac311e1812fbcff5dd79d73563f1d77c34c7
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Very often there is a need to sort data by one or several
columns. This patch adds ability to do this by specifying
extra '-s/--sort-column' argument with respective columns:
-s SORT_COLUMN, --sort-column SORT_COLUMN
specify the column(s) to sort the data
(columns specified first have a priority,
non-existing columns are ignored), can be
repeated
e.g.:
* without sorting:
foo_command bar_subcommand list
+------+------+
| Col1 | Col2 |
+------+------+
| a | A |
| b | B |
| c | A |
+------+------+
* with sorting:
foo_command bar_subcommand list -s Col2 Col1
+------+------+
| Col1 | Col2 |
+------+------+
| a | A |
| c | A |
| b | B |
+------+------+
Change-Id: Ifc6d6746448ff6f42898efd78ed3fd084a598a91
|
|/
|
|
| |
Change-Id: I517dc7c33e2cd6b1e6a575c8c5c523e210870351
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The tox_install.sh scripts are there to enable dealing with constraints
support. All of that can be accomplished directly, it turns out, by
simply adding the -c line to the requirements list.
Remove tox_install.sh and just set constraints directly.
Change-Id: I888ee148995c080f793f90e168613348283d0ff0
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
For openstackclient we can use the new osc-tox-unit-tips jobs from the
openstackclient repo. For neutronclient, make a cliff-specific job.
Change-Id: I244bad5a7a65b5e988a6ccb9e6403e86f03a38ac
Depends-On: Ie0f3e9d7e221c9cdd3c5d726148f456246186ff4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Py2 version of the csv module cannot accept unicode text. In Py2
we replaced the csv module with the unicodecsv module which encodes
unicode text prior to calling the standard Py2 csv module. Thus when
the cvs formatted output is emitted on stdout it is presented as a
encoded byte stream. But stdout has been replaced with a StreamWriter
which encodes to the desired encoding. The problem is the StreamWriter
attempts to encode all objects passed to it's write function,
including str objects. Instead it should only encode unicode text objects
and allow bytes to pass through unmodified.
This patch adds an override of the codecs.getwriter function which
only encodes unicode text objects. In addtion we pass the encoding
value obtained from the stream to the unicodecsv writer.
The patch fixes the codec error when outputing csv formated text that
contains a non-ASCII character. The unicodecsv implmentation will emit
byte encoded str objects to the stream. When the core StreamWriter
attempts to encode a str object Python will first promote the str
object to a unicode object. The promotion of str to unicode requires
the str bytes to be decoded. However the encoding associated with the
str object is not known therefore Python applies the default-encoding
which is ASCII. In the case where the str object contains utf-8
encoded non-ASCII characters a decoding error is raised. By not
attempting to encode a byte stream we avoid this error.
A more complete discussion of the above issues can be found here:
https://github.com/fedora-infra/kitchen/blob/develop/kitchen2/docs/unicode-frustrations.rst#frustration-4-now-it-doesnt-take-byte-strings
Change-Id: I22b5ad8bf0e227ec75a2a36986f0487191f7cbc2
Closes-Bug: 1720115
Signed-off-by: John Dennis <jdennis@redhat.com>
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Put these in place as a setup for the new versions of the doc build
jobs. Keep using them from the normal dep list until the jobs are
changed.
While we're here, update the docs env to use sphinx-build instead of
python setup.py build_sphinx. Also add python2.7 to the docs env, since
I accidentally tried building it with my python3 tox and it blew up
substantially.
Change-Id: I0fcc50c4c396758e839c329ce786a6f609bb1342
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove the dependency on the demoapp and just add it to the import
path so it is available to be imported. Copy the entry point settings
into the main cliff setup.cfg to ensure they are registered for the
doc build to find.
Change-Id: I390410bc5247e8b6c8d0a8fec8e7ecb223d8d6c1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Icd148aa05cc290d246cf27a7f99a3dbe7a84426f
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add add_legacy_command() method to the command manager and update the
command search logic to try translating the old legacy name to the new
name.
Change-Id: I0c0cdbfcb1612ec3975864fc7f730ff186879027
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Previously cliffdemo is specified as the dependency, but it installs
cliffdemo from PyPI which is older. It is better to build the doc
from the in-tree cliffdemo app.
Change-Id: I5821b52b05f257a82d7cae317bf75ea0c8455cf2
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds a feature to generate a reference of global
optoions of a cliff application to autoprogram-cliff directive.
If a class path of a cliff application is specified as the argument of
autoprogram-cliff directive, it will be interpreted as a cliff application
and global options of the specified application are rendered.
Change-Id: I20e46521a137ca721fae28f10c5cf75d26069e45
|
|/ /
| |
| |
| |
| |
| |
| | |
Add the bandit security scanner to the pep8 job.
Change-Id: I257529cabf0c4de2107783a6758d963ddc887ed9
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Following OpenStack Style Guidelines: [1]
Unit test assertions tend to give better messages for more
specific assertions. As a result, assertIsNone(...) is
preferred over assertIs(None, ...)
[1] http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
Change-Id: Ie4ee3be201f799d87c06378cd2c9a0a3c34c24df
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Because egg* already ignores egg-info.
Change-Id: Icc4b9134fd68682d99808568beba72070496799c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Zuul openstack-tox-pep8 failed due to several errors [1]
- Use bare except.
- Use ambiguous variable name 'l'. As pycodestyle doc [2] mentioned,
'Never use the characters 'l', 'O', or 'I' as variable names.'.
[1] http://logs.openstack.org/96/477396/3/gate/openstack-tox-pep8/f851c2d/ara/result/57b145af-a103-4982-9e9c-7c93c21b32df/
[2] https://pep8.readthedocs.io/en/latest/_modules/pycodestyle.html
Change-Id: Iefdf10245a64e58fa6b5d8174a09fb90f18c81a8
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Wrap at a sane width and remove errant whitespace.
Change-Id: I31fada44126d3a55b1045990c8bcd756093a508a
|
|\ \ \ \ \
| |/ / / / |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We have no way to check the cliff sphinxext work expectedly now.
It would be useful if we can check the cliff sphinxext in our doc.
Change-Id: If0578460dd678ffd33c20cf3707c08fa637eaf87
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`exit` is a user friendly and much more intuitive way to quit the
interactive shell. It is consistent with the Python interpreter,
IPython and even OSC which provides an exit command. Applications
created using Cliff do not need to implement it. It has the same
behavior as `quit` command as it is just another name for cmd2's
`do_quit` method.
Change-Id: I19ca9d2303379838e5fbd81e9d386832727ea618
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Definition lists should take the following format in Sphinx:
Term
Definition.
Inserting a space between the two results in a paragraph and block quote
instead of a definition list. Correct this oversight.
Change-Id: I6938c5c33257ba3c8b3a0ced9c2c5544fc209178
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Deal with distributions that do not have the top_level.txt metadata
file, or that have more than one module name listed in it.
Change-Id: I7d21f4ba674ee95d072b0bc8e5f22b5b4b7a32b4
Closes-Bug: #1719465
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I769d5e0d5e1d3e9b1ae697b84a80d0a3ca1faa36
|
|\ \ \ \ \ |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When listing all available commands, include the distribution name if
it does not match the distribution of the main application.
When showing the verbose help for a single command, include the
distribution name if it does not match the distribution of the main
application.
Change-Id: I4ddb3327c62cfd0f82167c15e9513ece6a3689c4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|