2016-10-06 21:01:18 +00:00
|
|
|
Developer Guide
|
|
|
|
===============
|
2015-03-29 16:47:30 +00:00
|
|
|
|
2016-10-06 20:47:21 +00:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
design
|
|
|
|
components
|
|
|
|
invocation
|
|
|
|
caches
|
|
|
|
developing_elements
|
|
|
|
dib_lint
|
|
|
|
stable_interfaces
|
|
|
|
|
2016-03-02 05:44:18 +00:00
|
|
|
This documentation explains how to get started with creating your own
|
|
|
|
disk-image-builder elements as well as some high level concepts for element
|
|
|
|
creation.
|
2015-09-02 05:12:31 +00:00
|
|
|
|
|
|
|
Quickstart
|
|
|
|
----------
|
|
|
|
|
|
|
|
To get started developing with ``diskimage-builder``, install to a
|
|
|
|
``virtualenv``::
|
|
|
|
|
|
|
|
$ mkdir dib
|
|
|
|
$ cd dib
|
2016-10-04 13:22:26 +00:00
|
|
|
$ virtualenv env
|
2015-09-02 05:12:31 +00:00
|
|
|
$ source env/bin/activate
|
|
|
|
$ git clone https://git.openstack.org/openstack/diskimage-builder
|
|
|
|
$ cd diskimage-builder
|
|
|
|
$ pip install -e .
|
|
|
|
|
|
|
|
You can now simply use ``disk-image-create`` to start building images
|
|
|
|
and testing your changes. When you are done editing, use ``git
|
|
|
|
review`` to submit changes to the upstream gerrit.
|
2016-03-02 05:44:18 +00:00
|
|
|
|
|
|
|
|
2017-05-25 04:13:31 +00:00
|
|
|
Python module documentation
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
For internal documentation on the DIB python components, see the
|
|
|
|
:ref:`modindex`
|
|
|
|
|
|
|
|
|
2016-10-06 21:50:46 +00:00
|
|
|
Finding Work
|
|
|
|
------------
|
|
|
|
|
|
|
|
We maintain a list of low-hanging-fruit tags on launchpad:
|
|
|
|
|
|
|
|
* `https://bugs.launchpad.net/diskimage-builder/+bugs?field.tag=low-hanging-fruit`
|
|
|
|
<https://bugs.launchpad.net/diskimage-builder/+bugs?field.tag=low-hanging-fruit>
|