| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I96de94e04c78b2a39d319a4951731c7095cdc5f3
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a squash of two commits that need to be merged together in order
to get all tests to pass:
Commit message #1:
Use Zuul v3 fetch-subunit-output
We have consolidated the fetch output roles into one
fetch-subunit-output, replace useage of old roles with new one.
Original change-id: Iae2892d9b4cd870a11579434edc9ee66bd16798c
(cherry picked from commit 0a2ee90204068a1284f207397bcb253ec1e13c7e)
Commit message #2:
Fix sphinx-docs job for stable branch
build-openstack-sphinx-docs jobs fail on stable branches because the
new pip version 10 changed a Warning into an Error: When calling
"pip install" without any package name, the command now fails.
tox_install.sh is being called during docs job without any package
passed to pip.
Note that this only affects stable/pike and older, so there is no patch
in master to cherry-pick this from. Newer branches use a different way
to set up the tox environment.
Depends-On: https://review.openstack.org/573665
Change-Id: I35e9ede7103031ea3ea45e35d743e63059fb8d0b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Tox tests are run on developer machines and on long lived slaves. We
should not leave lots of directories like
/tmp/python-openstackclient-tox_install-sdnltRu lying around.
Instead delete the temporary directory after our run.
Remove also an obsolete comment.
Change-Id: I939eae82dba3287fd4e4086128ebf4609a0e0770
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The usage of zuul-cloner in tox_install breaks post and periodic jobs.
Update the script, it does not need to handle unconstrainted installs
anymore (see tox.ini). There's no need to set ZUUL_BRANCH explicitely
- it's set via the environment and branch is passed in as well.
Note that this script is needed for the edit-constraints call, add a
comment.
Change-Id: I0077c986a17d6bb92791474e03d1e77776e9382f
Closes-Bug: #1615430
|
| |
|
|
|
|
|
|
|
|
| |
With the exception of releasenotes and cover, we should follow
upper constraints. The tox_install file was copied over from
python-neutronclient [1].
[1] http://git.openstack.org/cgit/openstack/python-neutronclient/tree/tools/tox_install.sh
Change-Id: I633fa149820efafd7b2acec0388fa8bc8d06c988
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently tox -epep8 will run flake8 on whole code.
To make this fast, flake8 support is added for only
updated(delta) code.
Same can be run by "tox -efast8".
Change-Id: I9c55fed32ae3060c21ec278398e9e07fb4a0fe13
Implements: BP tox-pep8-diff-part-only
|
| |
|
|
|
|
|
|
| |
Stick to using tox, remove the tools directory since it only
contained references to using venv. Also update a few other
locations that would have otherwise been incorrect.
Change-Id: I7d3e9067256ac0935f07904abcf584d898ac1d6f
|
| |
|
|
|
|
|
|
|
| |
update gettextutils.py, strutils.py, install_venv_common.py
remove iniparsers.py
oslo-incubator commit 1223cf
Change-Id: I23923d580f57ab6c12622f10d9f278c44c863feb
|
| |
|
|
|
|
|
|
|
| |
* update gettextutils.py, strutils.py, install_venv_common.py
* remove cfg.py, openstackkeyring
oslo-incubator commit 630d3959b9d001ca18bd2ed1cf757f2eb44a336f
Change-Id: I0ae9b9dc72ec88ed64a8c353b9c51734ee2cd24c
|
| |
|
|
|
|
| |
Remove the unimplemented post_process method call
Change-Id: Iaed526cc25a651008a66ad7f0050070ab2b4c595
|
| |
|
|
| |
Change-Id: I261ec6bb34b29169ba3547305deab051f85a3d4d
|
| |
|
|
| |
Change-Id: I0a57c658e0f89d13963862013793e12ae208c05b
|
| |
|
|
|
|
|
|
|
| |
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Change-Id: I903213fda94a833335abaa7ad9a90bbb688ec15a
Fixes: bug #1179008
|
| |
|
|
|
|
| |
Fixes bug 1179007
Change-Id: Ief74b121dcad28bb1c2b6044ef72e0cbd51e8f65
|
| |
|
|
|
|
| |
Fixes bug 1172444
Change-Id: Ieca721663aea2fd31753df4abfb5b01a7145b26a
|
| |
|
|
|
|
|
|
|
| |
We use the V1 API for `create` since it does not
yet exist in the V2 API in glanceclient.
For blueprint glance-client.
Change-Id: Ifa819c14f6a013f4530d16247a671e5a1c740a28
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
made the changes suggested by dtroyer
added client
modified setup.py entry points
updated pip required
added support for create/delete/list volume types
openstack list type
openstack create type typeName
openstack delete type typeNameOrId
Change-Id: I43655de151582e37f14dc9550151a66db7a009ab
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
This fixes an issue when trying to run install_venv from within
the source directory.
Change-Id: Id4dcb070319ec52d0a1b466e911fbfdf805db613
|
| |/
|
|
|
|
|
|
| |
Made all the necessary changes to pass new PEP8 standards.
Also cleaned up docstrings to conform to the HACKING stanards.
Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
|
| |
|
|
|
|
|
| |
This syncs install_venv_common.py from oslo and reworks the
tools/install_venv.py script to use the new library.
Change-Id: I3426a7f51b0018e074cc6f4b1d70b38e52464a38
|
| |
|
|
|
|
|
|
| |
Run tests with testr for parallel execution.
Part of blueprint grizzly-testtools.
Change-Id: I560592186f2f440049a451a32e58067262ab62d0
|
| |
|
|
|
|
| |
First round of adding more complete unit test coverage.
Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I475a082af0660e0ee0e86ca4cd1bf0e2d711e3ed
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
sets version that pip can use for pyparser to one that is for python 2.X. 2.0.0 is only for python 3
Change-Id: Ief16981b5e2c7d8716fdf77e15998cc9ffae9779
Fixes: bug #1091029
|
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
The movement of auth_token from keystone to keystoneclient is part
of the updated 0.2 version of keystoneclient. The server still
maintains an import back from the client for backward compatibility.
However, in order to support this, installations must upgrade to
the latest 0.2 version of the client.
Change-Id: I1ed1ebebbd56b2ed9c035c9e7d83783c8b2ae5fc
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| | |
Change-Id: Ib2980bc219aba66cfdbc67b7fc4eafbf6501ef23
|
| |/
|
|
|
|
| |
The real issue is cmd2 not pulling in pyparsing properly on a fresh system.
Change-Id: I9bae29f9a664431d0145ebc5a0cc4caec638d739
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 1030440
If password is defined in keyring, use it; otherwise, prompt for the
password. Keying is configured using command line switch,
--os-use-keyring or env(OS_USE_KEYRING).
* openstackclient/common/openstackkeyring.py
The abstract class for keyring, specifically for openstack. The
class is used to store encrypted password in keyring, without
prompting for keyring password. The encrypted password is
stored in ~/.openstack-keyring.cfg file.
* openstack-common.py
Update openstackkeyring library from openstack.common.
* openstackclient/shell.py
OpenStackClient.build_option_parser(): New boolean argument,
--os-use-keyring, default to env(OS_USE_KEYRING).
OpenStackClient.authenticate_user(): Get password from keyring,
if it is defined; otherwise, prompt for the password. If user
enter a password and keyring is enabled, store it in keyring.
OpenStackClient.init_keyring_backend(): New method to define
openstack backend for keyring.
OpenStackClient.get_password_from_keyring(): New method to
get password from keyring.
OpenStackClient.set_password_in_keyring(): New method go set
password in keyring.
* toos/pip-requires
Define keyring and pycrypto as one of dependent.
Change-Id: I36d3a63054658c0ef0553d68b38fefbc236930ef
|
| |/
|
|
|
|
|
|
| |
Adding nosehtmloutput as a test dependency allows nose to output its
results to an html file. This will be used by Jenkins to save logs on
a different server.
Change-Id: I9f7bdf848aeb0fee727da9cd3b651b3a3ce53182
|
| |
|
|
| |
Change-Id: I1a77f2a5973053de0e45b815359ff2fa42318682
|
| |
|
|
| |
Change-Id: I98e5f7aa788b1ab1a866b21e0a17a63b8d5efae3
|
| |
|
|
|
|
|
| |
* use unittest2
* shell: command-line options
Change-Id: I558fb10b8607e4f6e5c44d5fcac902546a8748a4
|
| |
|
|
| |
Change-Id: Ib4a4394b279188aa969c504b52b19c26746a97e1
|
| |
|
|
|
|
|
|
| |
* Make the Identity client in identity.client.make_client()
* Auth via ClientManager.identity
* Skip extra auth roundtrip in compute client
Change-Id: I0190639e38f83997c233195f6cc27ff3afdfba10
|
| |
|
|
|
|
|
|
|
|
|
| |
blueprint client-manager
blueprint nova-client
bug 992841
Move the authentication logic into a new ClientManager class so that only commands that need to authenticate will trigger that code.
Implement "list server" and "show server" commands as examples of using the ClientManager, Lister, and ShowOne classes.
Change-Id: I9845b70b33bae4b193dbe41871bf0ca8e286a727
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix pep8 errors (project is pep8 clean now).
Update setup.py to use openstack-common style dependencies.
Remove the unused novaclient dependency.
Change the keystoneclient dependency to a git URL.
Add test-requires, and move some pip-requires dependencies
into it.
Remove the test_utils unit test which wasn't testing anything
that is actually present in the project.
Add the test_authors unit test.
Use tox for running tests locally.
See: http://wiki.openstack.org/ProjectTestingInterface
Tox can manage virtualenvs, and is currently doing so for running
tests in Jenkins. It's just as, or more, useful for running tests
locally, so this starts the migration from the run_tests system to
tox. The goal is to reduce duplicate testing infrastructure, and
get what's running locally on developer workstations as close to
what is run by Jenkins as possible.
Run_tests.sh will now call tox to facilitate the transition for
developers used to typing "run_tests.sh".
Developers will need tox installed on their workstations. It can
be installed from PyPI with "pip install tox". run_tests.sh outputs
those instructions if tox is not present.
New facilities are available using tox directly, including:
tox -e py26 # run tests under python 2.6
tox -e py27 # run tests under python 2.7
tox -e pep8 # run pep8 tests
tox # run all of the above
tox -e venv foo # run the command "foo" inside a virtualenv
The OpenStack nose plugin is used when running tox from the
command line, so the enhanced, colorized output is visible to
developers running the test suite locally. However, when Jenkins
runs tox, xunit output will be used instead, which is natively
understood by jenkins and much more readable in that context.
Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e
|
| |
|