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
Davanum Srinivas 6ff6b4b4a5 Switch oslo-incubator to use oslo.utils and remove old modules
keystone client/middleware, nova all have tests that mock
utcnow when we introduce oslo.utils into those projects, we have
test failures because of references to copies of timeutils/utcnow
in for example memorycache. So the best way to deal with it is to
ensure that all code in oslo-incubator refer to oslo.utils. Added a
note in the deprecated code so when folks sync, they will be aware
of it.

Per the new process, we will not be keeping graduated files around
on the master branch of incubator.

Closes-Bug: #1354521
Closes-Bug: #1371713
Change-Id: If80e66c7dae1bfcda8e884c57b7086f34d026040
2014-09-24 06:58:38 -04:00
doc/source Stop using intersphinx 2014-09-13 09:37:47 +02:00
etc Remove rootwrap from incubator 2014-02-14 14:35:39 +01:00
openstack Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -04:00
pypi Expand © and remove unnecessary encoding lines 2014-06-15 17:59:11 +02:00
tests Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -04:00
tools Make graduate.sh commit filtering more correct 2014-08-09 11:37:52 +04:00
.coveragerc Update .coveragerc 2013-02-06 16:47:06 +02:00
.gitignore Delete graduated db files 2014-09-22 09:02:42 -04: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 Delete graduated db files 2014-09-22 09:02:42 -04:00
CONTRIBUTING.rst Add contributing page to docs 2014-09-08 20:35:12 -04: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 Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -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 rpc, notifier: remove deprecated modules 2014-09-22 10:43:52 +02:00
requirements-py3.txt Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -04:00
requirements.txt Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -04:00
run_tests.sh Move `./run_tests.sh` to Oslo 2013-08-13 18:06:11 +03:00
setup.cfg Merge "rpc, notifier: remove deprecated modules" 2014-09-23 18:56:23 +00:00
setup.py Updated from global requirements 2014-05-09 02:28:23 +00:00
test-requirements-py3.txt Updated from global requirements 2014-09-23 15:02:16 -04:00
test-requirements.txt Updated from global requirements 2014-09-23 15:02:16 -04:00
tox.ini Switch oslo-incubator to use oslo.utils and remove old modules 2014-09-24 06:58:38 -04:00
update.py rpc, notifier: remove deprecated modules 2014-09-22 10:43:52 +02: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.