1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
Contributing to the OpenStack SDK
=================================
This section of documentation pertains to those who wish to contribute to the
development of this SDK. If you're looking for documentation on how to use
the SDK to build applications, refer to the `user <../user>`_ section.
About the Project
-----------------
The OpenStack SDK is a OpenStack project aimed at providing a complete
software development kit for the programs which make up the OpenStack
community. It is a Python library with corresponding documentation,
examples, and tools released under the Apache 2 license.
.. toctree::
:maxdepth: 2
history
Contribution Mechanics
----------------------
.. toctree::
:maxdepth: 2
contributing
Contacting the Developers
-------------------------
IRC
~~~
The developers of this project are available in the `#openstack-sdks`__ channel
on OFTC IRC. This channel includes conversation on SDKs and tools within the
general OpenStack community, including OpenStackClient as well as occasional
talk about SDKs created for languages outside of Python.
.. __: http://webchat.oftc.net?channels=%23openstack-sdks
Email
~~~~~
The `openstack-discuss`__ mailing list fields questions of all types on
OpenStack. Using the ``[sdk]`` filter to begin your email subject will ensure
that the message gets to SDK developers.
.. __: mailto:openstack-discuss@lists.openstack.org?subject=[sdk]%20Question%20about%20openstacksdk
Coding Standards
----------------
We are a bit stricter than usual in the coding standards department. It's a
good idea to read through the :doc:`coding <coding>` section.
.. toctree::
:maxdepth: 2
coding
Development Environment
-----------------------
The first step towards contributing code and documentation is to setup your
development environment. We use a pretty standard setup, but it is fully
documented in our :doc:`setup <setup>` section.
.. toctree::
:maxdepth: 2
setup
Testing
-------
The project contains two test packages, one for unit tests and one for
functional tests. The ``openstack.tests.unit`` package tests the SDK's features
in isolation. The ``openstack.tests.functional`` package tests the SDK's
features and examples against an OpenStack cloud.
.. toctree::
testing
Project Layout
--------------
The project contains a top-level ``openstack`` package, which houses several
modules that form the foundation upon which each service's API is built on.
Under the ``openstack`` package are packages for each of those services,
such as ``openstack.compute``.
.. toctree::
layout
Adding Features
---------------
Does this SDK not do what you need it to do? Is it missing a service? Are you
a developer on another project who wants to add their service? You're in the
right place. Below are examples of how to add new features to the
OpenStack SDK.
.. toctree::
:maxdepth: 2
create/resource
.. TODO(briancurtin): document how to create a proxy
.. TODO(briancurtin): document how to create auth plugins
|