Mercurial > treepkg
view demo.cfg @ 84:98a7d70746a9
Make BinaryPackager remove all files that do not belong to the binary
package from the pkg/<rev>/binary directory after pbuilder finished.
Also, add tests for this and some corresponding test support code.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Mon, 10 Sep 2007 17:13:33 +0000 |
parents | 2802be410156 |
children | 1c74e3b56a63 |
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/enterprise # 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 to 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 pbuilder 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 necessaary. You will have to adapt pbuilder # yourself, then, though. pbuilderrc: %(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 [treepkg] # Section for general tree packager configuration # Interval in seconds between checks for updates check_interval: 300 [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: %(treepkg_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: enterprise.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_i18n] # Another packager. This one for the the localizations. This packager # requires and additional parameter, orig_tarball. svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kde-l10n base_dir: %(treepkg_dir)s/kde-i18n orig_tarball: /home/builder/kde-i18n-de-3.5.5.tar.bz2 packager_class: enterprise.kdei18n