view demo.cfg @ 562:e188e780977b

Use local-master as default local branch name if no branch is set in the config If a branch is set use branch name also as local branch name
author Bjoern Ricks <bricks@intevation.de>
date Fri, 02 Sep 2011 09:47:42 +0000
parents 5fda6768bef6
children
line wrap: on
line source
[DEFAULT]
# the default section provides defaults for the other sections.  Also,
# other sections can use the values here in interpolations.

# The basedir to use for interpolations in other sections
treepkg_dir: /home/builder/mill

# basedir for the packager track subdirectories
tracks_dir: %(treepkg_dir)s/tracks

# The command to use to gain the permissions to execute pbuilder.  The
# default is sudo.  The actual command line used to run pbuilder is
# root_cmd followed by the pbuilder command line.  With the default it
# is something like
#
#   sudo pbuilder build <name-of-dsc-file>
#
# The value of this option is split into words with the python function
# shlex.split.  See the python documentation for the precise semantics.
# shlex.split works pretty much like a POSIX shell but it doesn't
# perform any expansions.
#
# Set an empty value to indicate that no special command is needed.
#
# You can override this in the pkg_ sections if you need package
# specific values
root_cmd: sudo

# The builder class to use. With this option you can configure the
# "build-backend" to be used. Currently supported are pbuilder and
# sdbmock. 
# Default is PBuilder
# builder_cls: sdbmock

# The builder config file to use.  It should be an absolute filename.
# The script initpbuilder.py can create it and the rest of the pbuilder
# files and directories.  You can override this in the pkg_ sections for
# individual packagers if necessary.  You will have to adapt e.g. pbuilder
# yourself, then, though.
builderconfig: %(treepkg_dir)s/pbuilder/pbuilderrc


# Email address and name to use as the packager in the debian packages.
# You can override this in the pkg_ sections if you need package
# specific values
deb_email: packager@example.com
deb_fullname: Sample Packager

# specify debian build options.  The value specified here will be passed
# through to the build process in the environment variable
# DEB_BUILD_OPTIONS.  You can override the value in the pkg_ sections.
#
# For example, you can use the following setting to indicate to the
# build process that make should use two processes in parallel when
# building the software:
#
#  deb_build_options: parallel=2
#
# Note: When using pbuilder via sudo (see root_cmd option) make sure
# that sudo does not strip DEB_BUILD_OPTIONS and DEB_BUILD_PARALLEL from
# the environment (the latter variable is needed for packages that use
# cdbs, it's automatically set by the tree packager).
#deb_build_options:

# Template for the package revision.  The template should include the
# specifier "%(pkg_revision)d" which will be replaced by the revision
# number of the package (usually 1).  Note, that since the format used
# by the config file also uses %-based interpolation the %-character has
# to be doubled.
# E. g. with a prefix "treepkg%(pkg_revision)d", the default, a
# generated package might be named foo_1.0-treepkg1_all.deb
pkg_revision_template: treepkg%%(pkg_revision)d

# Whether to handle dependencies between packagers.  This is useful if
# the tree packager is to build a library and a program using the
# library, each with their own debian source packages and repositories.
# With dependency handling the library will always be updated before the
# program and the binary packages of the library will be made available
# to the pbuilder instance, so that the program will be built against
# them.
# You can override this in the pkg_ sections if you need package
# specific values
handle_dependencies: False


# Uncomment and insert the ID of the key with which to sign .dsc, .changes the
# Release file in the pbuilder's extra-pkg directory.
# You can override this in the pkg_ sections if you need package
# specific values
#signing_key_id:

# Use the status_hook vaiable to set a command you want to execute once
# the status of a treepkg has changed
# The envrionment variables set before this hook is called:
# TREEPKG_TRACK - The name of the track currently on
# TREEPKG_BASE_DIR - The name of the base directory of the current build
# TREEPKG_STATE - The state in which the track is currently (e.g. error)
# TREEPKG_STATENAME - The name of the current state
#                     (e.g. creating_binary_package)
# status_hook:

[treepkg]
# Section for general tree packager configuration

# Interval in seconds between checks for updates
check_interval: 3600

# file used to communicate instructions to a running tree packager
instructions_file: %(treepkg_dir)s/instructions


[pkg_kdepim]
# Sections with names starting with "pkg_" define the configuration for
# a package.

# The SVN URL to check out for packaging.  Will only be used for the
# initial checkout
svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim

# The directory under which the packager directory structure will be
# created.
base_dir: %(tracks_dir)s/kdepim

# The packager class defines how the packaging works.  The
# enterprise.kdepim class knows how to package the enterprise branch of
# KDE-PIM.
packager_class: recipes.kde_enterprise_3_5.kdepim

# Required fields for a pkg_ section inherited from the DEFAULT section
# in this example: root_cmd deb_email deb_fullname

# An additional option, name, is inferred from the section name.  Its
# value is the part of the section name after the pkg_ prefix.


[pkg_kde-i18n]
# Another packager.  This one for the the localizations.  This packager
# requires an additional parameter, orig_tarball.
svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kde-l10n
base_dir: %(tracks_dir)s/kde-i18n
orig_tarball: %(base_dir)s/kde-i18n-de-3.5.5.tar.bz2

packager_class: recipes.kde_enterprise_3_5.kde_i18n
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)