summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Debug env for tox"Jenkins2014-01-141-0/+18
|\
| * Debug env for toxBrant Knudson2014-01-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running a test with pdb was difficult because testr captures output and causes pdb prompt to quit. Tips for how to run testr with debug are provided here: https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests This change puts these commands into a debug env in tox.ini so you can do a command like tox -e debug test_auth_token_middleware or, for more granularity: tox -e debug keystone.tests.test_sql_migrate_extensions.EndpointFilterExtension tox -e debug keystone.tests.test_sql_migrate_extensions.EndpointFilterExtension.test_downgrade and when it hits your breakpoint you'll get the debug prompt. This same change was made to keystone in commit c8302509 . Change-Id: I2b5dc81f4652dc89ecbcc7c785245a81cf77a1ca
* | Use install_venv from oslo to fix no post_process issueQiu Yu2014-01-101-72/+18
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a recent oslo sync commit Ieb73d5f799423fa8abf71634c86601ba6d32df2f post_process() has been removed from tools/install_venv_common.py, which is still called in tools/install_venv.py Further investigation shows install_venv.py has some legacy distro specific code, which should be removed at the time introducing install_venv_common from oslo. This change switch tools/install_venv.py to use oslo code to align the effort as well as fixing original no 'post_process' issue. Changes being pulled into in install_venv are: 12bcdb7 - 2013-11-25 12:16:11 +0800 - Remove vim header b5cca99 - 2013-10-09 21:34:00 +0100 - Remove obsolete redhat-eventlet.patch 9378d3c - 2013-08-13 18:06:11 +0300 - Move `./run_tests.sh` to Oslo Note: openstack-common.conf is not updated, because the project name variable in install_venv has to be modified after syncing from oslo. That makes it not an exact sync but modification after sync. Besides other openstack projects using install_venv from oslo also don't change openstack-common.conf. So this patch simply follow the common practice here. Change-Id: I78a7563fbbde70cfd98cf1bd7a5a4eec5370d31d Closes-Bug: #1263940
* Sync with latest module from osloChmouel Boudjnah2013-12-101-43/+1
| | | | | | - This add a few bugfixes for py3 support. Change-Id: Ieb73d5f799423fa8abf71634c86601ba6d32df2f
* Synchronize code from osloAlessio Ababilov2013-08-201-10/+12
| | | | | | | | | | | | | | Use commit 376d1aaef9928a0cacb6ff8361b7b5003cad1e0a 'Merge "Update DB maintainers"' by jenkins on Tue Aug 20 12:08:26 2013 +0000 Changes: - Ibf3c56e4baa6ad83e2b95a948787e9d02cf074d4 BaseException.message is deprecated since Python 2.6 - I24ffad9ab7852be44e5d6c8805aa0a47647e21cc Don't attempt to patch eventlet without the patch - I838559f6f308e4a0c255af7bc27cdc669c5cf5f3 Ensure install_venv works behind firewalls Change-Id: I70182bd4e6611ee6da58d2772767888608c0f80c
* Sync install_venv_common from osloMonty Taylor2013-07-051-26/+17
| | | | Change-Id: Ic473e2bc51cd55c712aba86af1ffad8252b7b732
* Use Python 3.x compatible print syntaxDirk Mueller2013-06-231-1/+1
| | | | | | | | Adding an extra pair of braces helps here to let Python 3.x interpret it as print function, while not confusing the Python 2.x print operator. Change-Id: I05af267ecfbcc80753726743fdf82c330350afcb
* Merge "Fix unused imports(flake8 F401, F999)"0.2.5Jenkins2013-06-031-1/+0
|\
| * Fix unused imports(flake8 F401, F999)Dolph Mathews2013-06-031-1/+0
| | | | | | | | | | | | | | | | | | | | - F401: imported but unused - F999: syntax error in doctest Fixing a couple of the F401's simply required fixing the doctests syntax where the imports were actually in use. Change-Id: If78abbb143daf8d005a71c5ab52836df29c5e0cd
* | Rename requires files to standard names.Carlos D. Garza2013-05-243-31/+2
|/ | | | | | | | | 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: If5c7080fea7c5ca5935b3c064e368cb837a9c16b Fixes: bug #1179008
* Migrate to flake8.Monty Taylor2013-05-172-4/+6
| | | | | | Fixes bug 1172444. Change-Id: Icd51f5d925d84dcec7df7c83ca43cd87bc1b090f
* Migrate to pbr.Monty Taylor2013-05-171-0/+2
| | | | | | Fixes bug 1179007 Change-Id: Iceb63c223faab49be01baa36c035f703ddf59fc0
* Use testr instead of nose.Monty Taylor2013-05-101-4/+1
| | | | | | Part of blueprint grizzly-testtools Change-Id: I76dee19781eaac21901b5c0258e83a42180c1702
* Perform oslo-incubator code sync.Clark Boylan2013-05-102-39/+29
| | | | | | | | | | | | run_tests.sh cannot install a virtualenv with tools/install_venv.py as tools/install_venv_common.py depends on oslo.config which is an external dependency. The virtualenv installer should not depend on any external dependencies. Fix this by performing a code sync with oslo-incubator. Note this adds a new dependency on six and changes the way versioning is determined. Change-Id: Ifb67bbfeec4eabc943c2a88a34fe535c57f174a1
* Restrict prettytable to >=0.6,<0.8.Clark Boylan2013-04-021-1/+1
| | | | | | | Match the openstack/requirements version of prettytable in pip-requires to avoid version conflicts. Change-Id: I78f3c6ef9a9a8d35939eb100827e429c12a0a60d
* Switch to final 1.1.0 oslo.config releaseMark McLoughlin2013-03-121-1/+1
| | | | | | | | | Fixes bug #1128256 oslo.config has now been released to PyPI in time for Grizzly RC1 so we can switch to using it directly. Change-Id: I655f831718ae5f4e25e941ee206fe195214a9a91
* Switch to oslo.config.Dan Prince2013-03-051-1/+1
| | | | | | | The oslo-config package has been renamed. Switch to the new version. (should fix SmokeStack). Change-Id: Ied8804035d748932e7763cbaa9a7e295a887f1f5
* Update oslo-config version.Russell Bryant2013-02-201-1/+1
| | | | | | | Update the version of oslo-config in pip-requires. This update includes a fix for a bug that breaks oslo.config imports. Change-Id: If36de2965a50a975437bc498d9894325e6d20e98
* Use oslo-config-2013.1b3Alan Pevec2013-02-172-1/+2
| | | | | | | | | | | | | | | | | | | The cfg API is now available via the oslo-config library, so switch to it and remove the copied-and-pasted version. Removes the load of copied-and-pasted cfg from each application in authtoken middleware. Depends on oslo-config deployments: Nova I4815aeb8a9341a31a250e920157f15ee15cfc5bc Glance I4815aeb8a9341a31a250e920157f15ee15cfc5bc Quantum I4815aeb8a9341a31a250e920157f15ee15cfc5bc Cinder I4815aeb8a9341a31a250e920157f15ee15cfc5bc Add the 2013.1b3 tarball to tools/pip-requires - this will be changed to 'oslo-config>=2013.1' when oslo-config is published to pypi. This will happen in time for grizzly final. Change-Id: I18c450174277c8e2d15ed93879da6cd92074c27a
* Merge "Use install_venv_common.py from oslo."Jenkins2013-02-162-172/+258
|\
| * Use install_venv_common.py from oslo.Matthew Treinish2013-02-062-172/+258
| | | | | | | | | | | | | | This syncs install_venv_common.py from oslo and reworks the tools/install_venv.py script to use the new library. Change-Id: Ia8c2674b4abed8de754e92ea795130cdb065a720
* | Allow requests up to 0.8 and greaterChuck Short2013-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | The requests module dropped all configuration with the 1.0.0 release. There's no danger_mode and no 'verbose'' mode. The former shouldn't be necessary anymore and the latter can be done by setting a different log handler for the request.logging root logger. Change-Id: I41bfaf2574f6d7fc21f86e0124ceae7df6481eee Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | Pin requests module more strictly.K Jonathan Harker2013-02-051-1/+1
| | | | | | | | | | | | | | | | | | requests.request() does not accept the keyword argument 'config' (used on keystoneclient/client.py:339) after version 1.0.0. Fixes bug #1116740 Change-Id: I0a778849ff44a76a2647aa46057fdb35401fae5f
* | Update requests requirementsChuck Short2013-02-051-1/+1
|/ | | | | | | | | Bump the version requirements for requests so it does not conflict with the version of requests required for glance (unpinned). Change-Id: I06479b8ceb04df749a6d7f7dc584892a688cd449 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Blueprint memcache-protection: enable memcache value encryption/integrity checkGuang Yee2013-01-151-0/+1
| | | | | | DocImpact Change-Id: I8b733256a3c2cdcf7c2ec5edac491ac4739aa847
* Make WebOb version specification more flexibleDoug Hellmann2013-01-151-1/+1
| | | | | | | | | | Change the WebOb version to >=1.0.8 as a temporary measure to allow the actual version update to 1.2.3 to roll out across the projects one at a time without breaking the integration tests. Change-Id: Ia4f9f92ae7013098706924eef8728bcd85869c29 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
* Move iso8601 dependency from test- to pip-requiresBrian Waldon2013-01-092-1/+1
| | | | | | Fixes bug 1097860. Change-Id: Idcf880f9dfa956e6d240357150a9f5a24372f97a
* Merge "Use testtools instead of unittest for base classes."Jenkins2013-01-081-1/+2
|\
| * Use testtools instead of unittest for base classes.Monty Taylor2012-12-251-1/+2
| | | | | | | | | | | | part of blueprint grizzle-testtools Change-Id: Ic9b438b4224d945e080d1d6071742ddc47ee81ed
* | Pin requests to >=0.8.8.Yaguang Tang2012-12-311-1/+1
|/ | | | | | | requests add SSL CERT VERIFICATION support since 0.8.8. fix bug #1094699 Change-Id: I7974983087f7483283438906d738bec7cba84ed2
* Use requests module for HTTP/HTTPSDean Troyer2012-12-181-1/+1
| | | | | | | | | | | | | * Implement correct certificate verification * Add requests to tools/pip-requires * Fix OS_CACERT env var help text * Add info to README * Rework tests to use requests Pinned requests module to < 1.0 as 1.0.2 is now current in pipi as of 17Dec2012. Change-Id: I120d2c12d6f20ebe2fd7182ec8988cc73f623b80
* bug-1040361: use keyring to store tokensGuang Yee2012-12-041-0/+1
| | | | | | | User can optionally turn off keyring by specifying the --no-cache option. It can also be disabled with environment variable OS-NO-CACHE. Change-Id: I8935260bf7fd6befa14798da9b4d02c81e65c417
* Drop hashlib/hmac from pip-requires.Dan Prince2012-11-301-2/+0
| | | | | | | | | | Python 2.5+ has hashlib. Python 2.2+ has hmac. As such there really is no need to have these in pip-requires. Change-Id: Iaa7f6a6f2db4c5283608c320680da98ae400098f
* Add Ec2Signer utility class to keystoneclientSteven Hardy2012-11-281-0/+2
| | | | | | | | | | | Add Ec2Signer class (from keystone.utils) to keystoneclient Allows clients to more easily generate correctly signed requests for use with APIs using EC2 auth-extension based authentication blueprint ec2signer-to-keystoneclient Signed-off-by: Steven Hardy <shardy@redhat.com> Change-Id: Iea69ccd4dadd09740f42d907bf14f61c1750596a
* updating PEP8 to 1.3.3Joe Heck2012-11-262-4/+5
| | | | | | | * matching cinder, glance, etc * made run_tests exclusions match tox Change-Id: I9963245b079535a38a8c9b46917e8d833b62addb
* Add auth-token code to keystoneclient, along with supporting filesHenry Nash2012-11-121-0/+2
| | | | | | | | | | | | | | | This step in the process duplicates the auth-token code to keystoneclient but, for the moment, leaves a copy in its origional location in keystone. Testing for auth-token is also copied across, as is the cms support file. Although no other project will yet pick up the code here in the client, since the paste.ini files haev not yet been updated, it would work if anyone did reference it. Once the client code is in, the next step is to update all the other project paste files, and then finally retire the code from keystone. Change-Id: I88853a373d406020d54b61cba5a5e887380e3b3e
* virtualenv quite installation for zypperLaurence Miao2012-10-041-0/+25
| | | | | | | * tools/install_venv.py Added new class Suse Change-Id: I4629ca683edcd07f5707fe015bfc58bf904209f2
* enabling i18n with BabelJoe Heck2012-09-291-0/+2
| | | | Change-Id: I7d5a170f31c2846474b3836a08c6445577613e98
* Require httplib2 version 0.7 or higher.Alex Meade2012-09-171-1/+1
| | | | | | | SSL validation was not available until version 0.7 of httplib, which keystone client makes use of. Therefore, we cannot just allow any version. Change-Id: I05dc72aa77a4f861cc238fccf5a22192f7bdbf6f
* 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: I6d217ff3098650e013985afdd8f4186d8d77d609
* Install test-requires in development venv.Sascha Peilicke2012-07-091-0/+2
| | | | | | Otherwise ./run_tests.sh may fail Change-Id: I122fc474568e6670e6c8aa2a3c854a3f2ceccd53
* add keystone bash-completionDominik Heidler2012-07-061-0/+27
| | | | Change-Id: I84d3897fc056d411fdaaee301465c72e20a66ff8
* Move unittest2 dependencyKen Thomas2012-06-192-1/+1
| | | | | | | | | | | | bug 1014845 It looks like an earlier fix for bug 933076 put the unittest2 dependency in the wrong file. Moving it to the correct file. Added a version to the unittest2 dependency Removed a blank line Change-Id: I06a8963fc5aca80438348d26569d8efb4568f754
* Fix coverage job. Turns out you need coverage.Monty Taylor2012-06-151-0/+1
| | | | Change-Id: I8e429b50d6c3188d1d242a9a5d3cba07066b85c1
* Update to latest openstack.common setup code.Monty Taylor2012-06-143-8/+11
| | | | Change-Id: I044447b162e97d7464e49ba7fed0d41a757a3210
* Updated tox.ini to work properly with Jenkins.Monty Taylor2012-03-211-0/+1
| | | | | As part of doing that, fixed a unittest to work with python2.6. Change-Id: I575a8534bf008077c1a24a25336f1d711f742297
* Backslash continuations (python-keystoneclient)Zhongyue Luo2012-03-171-2/+2
| | | | | | | | Fixes bug #940023 Backslash continuations removal for python-keystoneclient Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
* Use unittest2 instead of unittest.Ken Thomas2012-02-151-0/+1
| | | | | | | | | This allows the test to run on RHEL 6.2 and python 2.6. Fixed bug 933076 Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199
* Updates client to work with keystone essex roles API routes.Gabriel Hurley2012-01-281-0/+1
| | | | | | | Also adds pep8 to requirements since it was missing, and adds the automatically-created venv to the gitignore list. Change-Id: Iafa05c1889d7706b79d0f9392a9ac24f2f5a1719
* Install a good version of pip in the venv.Monty Taylor2012-01-021-1/+2
| | | | Change-Id: Iff60e6595a3a331961ac8d6be2224edf6548b470