fd86091c69
Since we switched to another gerrit review server, the link needs. to be updated in doc/source/contributing/source.rst. As suggested by dhellmann, also updated the list ordering in the file. Bug #1023061 Change-Id: I46d8483966670de78dd468624a3a3cce62ffd1ea
2.1 KiB
2.1 KiB
Working with the Source
Setting up a Development Sandbox
Set up a server or virtual machine to run OpenStack using devstack.
Clone the ceilometer project to the machine:
$ cd /opt/stack $ git clone https://github.com/stackforge/ceilometer.git $ cd ./ceilometer
Once this is done, you need to setup the review process:
$ git remote add gerrit ssh://<username>@review.openstack.org:29418/stackforge/ceilometer.git
If you are preparing a patch, create a topic branch and switch to it before making any changes:
$ git checkout -b TOPIC-BRANCH
Running the Tests
Ceiloemter includes an extensive set of automated unit tests which are run through tox.
Install
tox
:$ sudo pip install tox
Install the test dependencies:
$ sudo pip install -r /opt/stack/ceilometer/tools/test-requires
Run the unit and code-style tests:
$ cd /opt/stack/ceilometer $ tox -e py27,pep8
Code Reviews
Ceilometer uses the OpenStack review process for all code and developer documentation contributions. Code reviews are managed through gerrit.