2015-03-29 16:47:30 +00:00
|
|
|
Developer Documentation
|
|
|
|
=======================
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
|
|
|
design
|
|
|
|
components
|
|
|
|
invocation
|
|
|
|
caches
|
|
|
|
developing_elements
|
2016-05-02 06:21:32 +00:00
|
|
|
dib_lint
|
2016-03-02 05:44:18 +00:00
|
|
|
stable_interfaces
|