Skip to content

Commit

Permalink
Add some documentation for dep steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuka committed Jul 27, 2012
1 parent cd57505 commit 443f3dd
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions master/docs/manual/cfg-buildsteps.rst
Expand Up @@ -2640,6 +2640,61 @@ The step takes the following parameters
``srpm``
The path to the SourceRPM to rebuild.

DEB-Related Steps
-----------------

DebPbuilder
+++++++++++

The :bb:step:`DebPbuilder` step builds Debian packages within a chroot
built by pbuilder. It populates the changeroot with a basic system
and the packages listed as build requirement. The type of chroot to build
is specified with the ``distribution``, ``distribution`` and
``mirror`` parameter. To use pbuilder your buildbot must have the right to
run pbuilder as root throug sudo. ::

from buildbot.steps.package.deb import DepPbuilder
f.addStep(DepPbuilder())

The step takes the following parameters

``architecture``
Architecture to build chroot for.

``distribution``
Name, or nickname, of the dirstribution. Defaults to 'stable'.

``basetgz``
Path of the basetgz to use for building.

``mirror``
URL of the mirror used to download the packages from.

``extrapackages``
List if packages to install in addition to the base system.

``keyring``
Path to a gpg keyring to verify the downloaded packages. This is necessary
if you build for a forain distribution.

``components``
Repos to activate for chroot building.

DebCowbuilder
+++++++++++++

The :bb:step:`DebCowbuilder` step is a subclass of :bb:step:`DebPbuilder`,
which use cowbuilder instead of pbuilder.

DebLintian
++++++++++

The :bb:step:`DebLintian` step checks a build .deb for bugs and policy
violations. The packages or changes file to test is specified in ``fileloc`` ::

from buildbot.steps.package.deb import DebLintian
f.addStep(DebLintian(fileloc=WithProperties("%(deb-changes)s"):wq

Miscellaneous BuildSteps
------------------------

Expand Down

0 comments on commit 443f3dd

Please sign in to comment.