Updates README.rst
Adds "How to Install" section. Adds "Tests" section. Adds "How to contribute" section. Adds the list of OpenStack projects os-win is currently used in. Change-Id: I08c42791a5c8f4d1c758e2da85ed2641e7b36151
This commit is contained in:
73
README.rst
73
README.rst
@@ -1,19 +1,80 @@
|
||||
===============================
|
||||
======
|
||||
os-win
|
||||
===============================
|
||||
======
|
||||
|
||||
Windows / Hyper-V library for OpenStack projects.
|
||||
|
||||
Library contains Windows / Hyper-V code commonly used in the OpenStack
|
||||
projects: nova, cinder, networking-hyperv. The library can be used in any
|
||||
other OpenStack projects where it is needed.
|
||||
This library contains Windows / Hyper-V specific code commonly used in
|
||||
OpenStack projects. The library can be used in any other OpenStack projects
|
||||
where it is needed.
|
||||
|
||||
* Free software: Apache license
|
||||
* Documentation: http://docs.openstack.org/developer/os-win
|
||||
* Source: http://git.openstack.org/cgit/openstack/os-win
|
||||
* Bugs: http://bugs.launchpad.net/os-win
|
||||
|
||||
|
||||
How to Install
|
||||
--------------
|
||||
|
||||
os-win is released on Pypi, meaning that it can be installed and upgraded via
|
||||
pip. To install os-win, run the following command:
|
||||
|
||||
::
|
||||
|
||||
pip install os-win
|
||||
|
||||
To upgrade os-win, run the following command:
|
||||
|
||||
::
|
||||
|
||||
pip install -U os-win
|
||||
|
||||
Note that the first OpenStack release to use os-win is Mitaka. Previous
|
||||
releases do not benefit from this library.
|
||||
|
||||
Tests
|
||||
-----
|
||||
|
||||
You will have to install the test dependencies first to be able to run the
|
||||
tests.
|
||||
|
||||
::
|
||||
|
||||
C:\os_win> pip install -r requirements.txt
|
||||
C:\os_win> pip install -r test-requirements.txt
|
||||
|
||||
You can run the unit tests with the following command.
|
||||
|
||||
::
|
||||
|
||||
C:\os_win> nosetests os_win\tests
|
||||
|
||||
|
||||
How to contribute
|
||||
-----------------
|
||||
|
||||
To contribute to this project, please go through the following steps.
|
||||
|
||||
1. Clone the project and keep your working tree updated.
|
||||
2. Make modifications on your working tree.
|
||||
3. Run unit tests.
|
||||
4. If the tests pass, commit your code.
|
||||
5. Submit your code via ``git review``.
|
||||
6. Check that Jenkins and the Microsoft Hyper-V CI pass on your patch.
|
||||
7. If there are issues with your commit, ammend, and submit it again via
|
||||
``git review``.
|
||||
8. Wait for the patch to be reviewed.
|
||||
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
* TODO
|
||||
os-win is currently used in the following OpenStack projects:
|
||||
|
||||
* nova
|
||||
* cinder
|
||||
* compute-hyperv
|
||||
* networking-hyperv
|
||||
* ceilometer
|
||||
* os-brick
|
||||
|
||||
Reference in New Issue
Block a user