RETIRED, Part of OpenStack's Oslo project. New Oslo APIs go through an incubation phase in this repository before being released as part of a proper Python library.
Go to file
James Carey 661441359d Correct coercion of logged message to unicode
Changed to check if logged message is an instance of six.text_type
and coerce it to unicode if it isn't.

Change-Id: I26b0d3490f731f6fdb9a429aa9ef59360ddc88ba
Closes-bug: #1348244
2014-08-11 02:34:56 +00:00
doc/source Use oslosphinx to generate documentation 2014-08-05 01:30:36 -04:00
etc Remove rootwrap from incubator 2014-02-14 14:35:39 +01:00
openstack Correct coercion of logged message to unicode 2014-08-11 02:34:56 +00:00
pypi Expand © and remove unnecessary encoding lines 2014-06-15 17:59:11 +02:00
tests Correct coercion of logged message to unicode 2014-08-11 02:34:56 +00:00
tools Use lockutils wrapper to set OSLO_LOCK_PATH for run_tests.sh 2014-06-25 14:41:45 +10:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Remove requirements.txt from .gitignore 2014-03-06 17:03:31 +02:00
.gitreview Correcting openstack-common mv to oslo-incubator. 2012-11-11 23:44:12 +00:00
.mailmap Add mailmap entry 2014-05-07 12:12:00 -07:00
.testr.conf Don't call provision.py directly 2014-04-07 14:56:04 +10:00
HACKING.rst Update URL for global HACKING document 2013-11-11 10:36:08 -08:00
LICENSE Incorporating MIT licensed code 2013-12-02 11:57:19 +00:00
MAINTAINERS Mark oslo.cocnurrency libs as graduating 2014-08-08 00:13:46 +04:00
MANIFEST.in Don't include versioninfo in manifest. 2013-01-14 03:17:32 -08:00
README.rst Fixes command being displayed on same line. 2014-04-04 23:09:48 +05:30
TESTING.rst Creates a new file TESTING.rst. 2013-06-20 20:44:43 -04:00
obsolete.txt Warn the user when they sync an obsolete module 2014-04-12 17:08:51 +08:00
requirements-py3.txt Updated from global requirements 2014-07-28 19:53:00 +00:00
requirements.txt Updated from global requirements 2014-07-28 19:53:00 +00:00
run_tests.sh Move `./run_tests.sh` to Oslo 2013-08-13 18:06:11 +03:00
setup.cfg Set pbr 'warnerrors' option for doc build 2014-06-06 12:07:47 +02:00
setup.py Updated from global requirements 2014-05-09 02:28:23 +00:00
test-requirements-py3.txt Updated from global requirements 2014-06-19 01:12:05 +00:00
test-requirements.txt Use oslosphinx to generate documentation 2014-08-05 01:30:36 -04:00
tox.ini Fix E126 pep8 errors 2014-08-01 11:39:01 +02:00
update.py Merge "Ensure options passed to update.py are sane" 2014-06-16 19:34:43 +00:00
update.sh Fix typo in update.py 2013-12-30 13:00:22 +08:00

README.rst

The Oslo Incubator

The Oslo program produces a set of python libraries containing infrastructure code shared by OpenStack projects. The APIs provided by these libraries should be high quality, stable, consistent and generally useful.

The process of developing a new Oslo API usually begins by taking code which is common to some OpenStack projects and moving it into this repository. Incubation shouldn't be seen as a long term option for any API - it is merely a stepping stone to inclusion into a published Oslo library.

For more information, see our wiki page:

https://wiki.openstack.org/wiki/Oslo

Running Tests

To run tests in virtualenvs (preferred):

sudo pip install tox
tox

To run tests in the current environment:

sudo pip install -r requirements.txt
nosetests

To run tests using MySQL or PostgreSQL as a DB backend do:

OS_TEST_DBAPI_ADMIN_CONNECTION=mysql://user:password@host/database tox -e py27

Note, that your DB user must have permissions to create and drop databases.