summaryrefslogtreecommitdiff
path: root/openstackclient/openstack
Commit message (Collapse)AuthorAgeFilesLines
* Use oslo.utilsOleksii Chuprykov2014-09-225-880/+0
| | | | | | | | Module `importutils` from common code was graduated to oslo.utils, so it would be great if we reuse this library. Remove unused strutils.py and gettextutils.py Change-Id: Iaae19fc5018d83103e5f15ff76d6da686bfdf5f8
* Sync with oslo-incubator and add importutilsAaron Rosen2014-09-063-43/+169
| | | | | | | From oslo-incubator commit: c4bfdb94c25b4488da61d77184d97f8784f21a11 Change-Id: I81d1113d113faa609ab7713a0e04667b11786247
* sync oslo bitsSteve Martinelli2014-06-204-249/+155
| | | | | | | | | update gettextutils.py, strutils.py, install_venv_common.py remove iniparsers.py oslo-incubator commit 1223cf Change-Id: I23923d580f57ab6c12622f10d9f278c44c863feb
* Update oslo incubator bitsDean Troyer2014-02-203-1964/+368
| | | | | | | | | * update gettextutils.py, strutils.py, install_venv_common.py * remove cfg.py, openstackkeyring oslo-incubator commit 630d3959b9d001ca18bd2ed1cf757f2eb44a336f Change-Id: I0ae9b9dc72ec88ed64a8c353b9c51734ee2cd24c
* Sync oslo-incubator for py33 fixesDean Troyer2013-10-111-46/+152
| | | | Change-Id: I261ec6bb34b29169ba3547305deab051f85a3d4d
* Add security group commandsDean Troyer2013-07-292-0/+477
| | | | | | | | | | | | | | * Add security group: create, delete, list, set, show * Add server: add secgroup, remove secgroup * Add security group rule: create, delete, list * Add Oslo's strutils and gettextutils * Adds parseractions.RangeAction() to handle option arguments of either a single number or a range of numbers: '--port 25' or '--port 1024:65535' Blueprint: nova-client Change-Id: Iad2de1b273ba29197709fc4c6a1036b4ae99725f
* Migrate to pbr.Monty Taylor2013-05-161-335/+0
| | | | | | Fixes bug 1179007 Change-Id: Ief74b121dcad28bb1c2b6044ef72e0cbd51e8f65
* Copy cfg and iniparser from oslo-incubatorDean Troyer2013-01-302-0/+1861
| | | | | | | https://review.openstack.org/20753 introduced tools/install_venv_common.py but not it's dependencies openstack.common.{cfg,iniparser} Change-Id: I270a1d8f6fd8f93988a5e2ccbc446adda0a6cd81
* Use install_venv_common.py from oslo.Josh Kearney2013-01-291-3/+17
| | | | | | | This syncs install_venv_common.py from oslo and reworks the tools/install_venv.py script to use the new library. Change-Id: I3426a7f51b0018e074cc6f4b1d70b38e52464a38
* Sync latest openstack-common updates.Josh Kearney2013-01-241-125/+84
| | | | Change-Id: I09adc9b5c01aa97ffba58dff8a696172e8654e3e
* Clean up test environment and remove unused imports.Josh Kearney2013-01-221-4/+0
| | | | | | First round of adding more complete unit test coverage. Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
* Fixes setup compatibility issue on WindowsAlessandro Pilotti2012-11-051-39/+63
| | | | | | | | | | | Fixes Bug #1052161 "python setup.py build" fails on Windows due to a hardcoded shell path: /bin/sh setup.py updated using openstack-common/update.py Change-Id: I33d38e0f96b6d124248c4a31959952d61cf1eb16
* Add read_versioninfo method.Monty Taylor2012-06-261-4/+17
| | | | Change-Id: Iba12b260a30cc1311967a833e26eaeb9bf3afb47
* Add post-tag versioning.Monty Taylor2012-06-251-22/+206
| | | | Change-Id: I98e5f7aa788b1ab1a866b21e0a17a63b8d5efae3
* Auto generate AUTHORS for python-openstackclient.Bhuvan Arumugam2012-05-011-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 976267 Now that git commits are gated by CLA, we shouldn't enforce committers to add an entry in AUTHORS file. The AUTHORS file should be generated automatically, based on git commits. This commit fixes the problem. * AUTHORS Remove this file. * tests/test_authors.py Remove this test case. * .gitignore Add AUTHORS file. * openstackclient/openstack/common/setup.py generate_authors(): New method to create AUTHORS file. If AUTHORS.in file exists, append it's content to AUTHORS file. * setup.py Import the new method. Generate AUTHORS file before creating the package. Change-Id: Ia5488a43f88e13a0fb1f7a5d8d10a576b9034dc8
* Add openstack-common and test infrastructure.James E. Blair2012-04-283-0/+140
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