summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Rename requires files to standard names.Zhenguo Niu2013-05-292-24/+0
| | | | | | | | | 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: Ic220b54de5ce7c15f442b8ffcb97cd03c2344f9a Fixes: bug #1179008
* Migrate to pbr.Monty Taylor2013-05-181-0/+3
| | | | | | Fixes bug 1179007. Change-Id: I99d571bbf37ef53366a96de088c249cb6fd23b0e
* Migrate to flake8.Monty Taylor2013-05-181-1/+6
| | | | | | Fixes bug 1172444. Change-Id: Icec0820d0f780ed9473218b7e46e29c1e3db6541
* Add test for glanceclient shellsTatyana Leontovich2013-05-171-0/+1
| | | | | | | | | | | | Add unittests for the following modules: * glanceclient.shell * glanceclient.v1.shell * glanceclient.v1.legacy_shell * glanceclient.v2.shell Also add mock library to the tools/test-requires Implements: blueprint glanceclient-shells-unittests Change-Id: I5ec527c5efff3726932d234d7c67e08149643f89
* Allow for prettytable 0.7.x as wellDirk Mueller2013-03-151-1/+1
| | | | | | | Relax requirements to >= 0.6, < 0.8, as 0.7.x seems to work as well. Added testcase to ensure this. Change-Id: I1a1a709e6053451b1256a0d78f8fe8562fb10e62
* Expect minumum warlock version of 0.7.0Brian Waldon2013-02-131-1/+1
| | | | Change-Id: Ic2ef17f29ebd4c157a8ccf7a52b9c74e0c17a54e
* Migrate to testr.Monty Taylor2013-01-161-5/+3
| | | | | | Part of blueprint grizzly-testtools Change-Id: I9a12f0300e2731a6ee0a82e1f9737a6b83aa5d85
* Use testtools instead of unittest.Monty Taylor2013-01-021-0/+1
| | | | | | Part of blueprint grizzly-testtools Change-Id: Ie914fd8f59cddb1a480566ec4eff908bfb51921c
* Pin pep8 to 1.3.3Chuck Short2012-11-251-1/+1
| | | | | | | | Standardize pep8 to 1.3.3 and cleared up any errors found by pep8 tests. Change-Id: Ib7eb97d0789556d1676ccad58b5d3364065b7d15 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Unpin keystoneclient dependencyVishvananda Ishaya2012-11-161-1/+1
| | | | | | | The new 0.2.0 keystoneclient was released with no api changes, and glanceclients dependency breaks gating so unpin it. Change-Id: I9cbe2ebb462005ebfea3b7a0e68ca39069a0765f
* Implement blueprint ssl-connect-reworkStuart McLaren2012-10-081-0/+1
| | | | | | | | | | | | | | | | | Use pyOpenSSL for HTTPS connections. This allows: * Neater loading of system CA files * Optional disabling of SSL compression The performance gain from disabling SSL compression is significant in cases where the image being uploaded/downloaded is in an already compressed format (eg qcow2). Related to bp ssl-connect-rework. Change-Id: I0568b6c95c5fc7b8eafdbd0284e24c453660a55a
* Merge "Add nosehtmloutput as a test dependency."0.5.0Jenkins2012-08-221-0/+1
|\
| * Add nosehtmloutput as a test dependency.Clark Boylan2012-08-211-0/+1
| | | | | | | | | | | | | | | | 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: Ib7f07dbe7e81d17d42a191a664c7f844f58fcb94
* | Update pip-requires with warlock<2.Dan Prince2012-08-171-1/+1
|/ | | | | | | Allow warlock to be used up to version 2 (the next major version of the library). Change-Id: I0c5a47f9ebfa0145dfab7310a22982d5d8e9aa52
* Update python-keystoneclient version dependencyBrian Waldon2012-08-011-1/+1
| | | | | | | We need version v0.1.2 for the 'insecure' keyword to work in keystoneclient.v2_0.client.Client Change-Id: I0f8564d5e9067f8e7fcc2f3fb48cd09757977f38
* Replace httplib2 with httplib as http driverBrian Waldon2012-07-231-1/+0
| | | | | | | | * This allows us to send truly chunked responses to users * Handle bad connection url schemes with a new InvalidEndpoint exception * Fixes bug 1023240 Change-Id: I34500987f51d4e0c6e1f89ecf93853de3fcbb1c3
* Merge "Relax prettytable dependency to v0.6.X from v0.6"Jenkins2012-07-191-1/+1
|\
| * Relax prettytable dependency to v0.6.X from v0.6Brian Waldon2012-07-171-1/+1
| | | | | | | | Change-Id: Ide7247ba444b60179d9c76c43dfaa43c025b69c9
* | Replace static v2 Image model with warlock modelBrian Waldon2012-07-131-0/+1
|/ | | | | | | | | * Add warlock v0.1.0 as a dependency * Generate a pythonic, self-validating Image model using warlock * Add raw method to Schema model * Related to bp glance-client-v2 Change-Id: Ib98e912a7af0bb570b4fd738733edd9b837d1a04
* Latest setup goodness.Monty Taylor2012-07-111-0/+1
| | | | | | | Upgrade the common setup code to the latest versions, and use setuptools-git for sdist tarball generation. Change-Id: I81eca9199b7d330ef8ec80482565a75f8475a78c
* Use PyPI for keystoneclient.Monty Taylor2012-07-021-2/+1
| | | | Change-Id: Ib1ce43cde3e6848a873778dd9fc6aa4709df6452
* Stick prettytable at v0.6Brian Waldon2012-06-071-1/+1
| | | | | | Doing this so we can align columns reliably Change-Id: Ibdbc6f3df08d6f9c45b6e0a0f5a2440ba2637dbd
* Set pep8 dependency at v1.2Brian Waldon2012-06-041-1/+1
| | | | | | | Additionally, remove the pep8 dep override in tox.ini so the dep we set in tools/test-requires is actually used Change-Id: Iceb6d7a5dd8eceeebc1408e8a5edfabb48462d3e
* Properly install from zipball.Monty Taylor2012-05-251-1/+1
| | | | Change-Id: I505a42ec11b388e3ee5c818a1aadf0f70d5565c5
* Fix the zipball change.Monty Taylor2012-05-241-1/+1
| | | | | | -f downloads things from a url. -e does them for vcs. Change-Id: I14c5edd0ca163112baea08c81771f35f13930264
* Replace git url with github zipball.Monty Taylor2012-05-231-1/+1
| | | | | | | | | distribute does not grok git urls, but auto-generated zipfiles are a short-term workaround until we've got pypi uploads sorted. Fixes bug 1003328 Change-Id: Iaded7245cea7a30c2f421c7b48ece9823aaf152f
* Added condition requirement to simplejsonChuck Short2012-04-301-1/+0
| | | | | | | simplejson is a part of python 2.6. Change-Id: I3a1d776918c8707f21532fe3b043a039b72d6704 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Use tox for running tests locally.James E. Blair2012-04-272-132/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. This patch removes run_tests.py, and the scripts that manage .venv. It makes run_tests.sh 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 configuration of the openstack nose plugin is removed from setup.cfg and added to the nosetests command line arguments in tox. It 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, the xunit plugin will be used instead, providing output natively understood by jenkins which is much more readable in that context. Change-Id: Id678c2fb8a5a7d79c680d3d1f2f12141f73dc8a6
* Add Sphinx to test-requires.Monty Taylor2012-04-051-0/+1
| | | | Change-Id: I8dec9a2e80e0ad8ceb6805a731a26585d9af92b3
* Correct keystoneclient egg name in pip-requiresBrian Waldon2012-04-031-1/+1
|
* Further cleanupBrian Waldon2012-03-261-64/+40
| | | | | * README is now relevant * Auth now properly skipped with os-image-url and os-auth-token provided
* Basic get/list operations workBrian Waldon2012-03-264-2/+160
| | | | | * 'glance image-list' and 'glance image-show' work * Set up tests, pep8, venv
* All the latest OpenStack hotness.Monty Taylor2012-02-292-0/+13