annotate demo.cfg @ 45:3e610233ccfe

use cmdexpand when calling subprocesses
author Bernhard Herzog <bh@intevation.de>
date Tue, 20 Mar 2007 17:27:46 +0100
parents 38330d45047f
children 2802be410156
rev   line source
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
1 [DEFAULT]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
2 # the default section provides defaults for the other sections. Also,
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
3 # other sections can use the values here in interpolations.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
4
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
5 # The basedir to use for interpolations in other sections
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
6 treepkg_dir: /home/builder/enterprise
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
7
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
8 # The command to use to gain the permissions to execute pbuilder. The
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
9 # default is sudo. The actual command line used to run pbuilder is
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10 # root_cmd followed by the pbuilder command line. With the default it
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 # is something like
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 # sudo pbuilder build <name-of-dsc-file>
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14 #
2
e6a9f4037f68 readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents: 1
diff changeset
15 # The value of this option is split into words with the python function
e6a9f4037f68 readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents: 1
diff changeset
16 # shlex.split. See the python documentation for the precise semantics.
e6a9f4037f68 readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents: 1
diff changeset
17 # shlex.split works pretty much like a POSIX shell but it doesn't to any
e6a9f4037f68 readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents: 1
diff changeset
18 # expansions.
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 # Set an empty value to indicate that no special command is needed.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
21 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24 root_cmd: sudo
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 # Email address and name to use as the packager in the debian packages.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
29 deb_email: packager@example.com
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30 deb_fullname: Sample Packager
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
33 [treepkg]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34 # Section for general tree packager configuration
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
36 # Interval in seconds between checks for updates
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37 check_interval: 300
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
38
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
39
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
40 [pkg_kdepim]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
41 # Sections with names starting with "pkg_" define the configuration for
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
42 # a package.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
43
3
7e9db903ba16 more infos about svn_url
Bernhard Herzog <bh@intevation.de>
parents: 2
diff changeset
44 # The SVN URL to check out for packaging. Will only be used for the
7e9db903ba16 more infos about svn_url
Bernhard Herzog <bh@intevation.de>
parents: 2
diff changeset
45 # initial checkout
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
46 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
47
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
48 # The directory under which the packager directory structure will be
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
49 # created.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
50 base_dir: %(treepkg_dir)s/kdepim
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
51
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
52 # The packager class defines how the packaging works. The
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
53 # enterprise.kdepim class knows how to package the enterprise branch of
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
54 # KDE-PIM.
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
55 packager_class: enterprise.kdepim
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
56
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
57 # Required fields for a pkg_ section inherited from the DEFAULT section
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
58 # in this example: root_cmd deb_email deb_fullname
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
59
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
60 # An additional option, name, is inferred from the section name. Its
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
61 # value is the part of the section name after the pkg_ prefix.
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
62
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
63
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
64 [pkg_i18n]
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
65 # Another packager. This one for the the localizations. This packager
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
66 # requires and additional parameter, orig_tarball.
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
67 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kde-l10n
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
68 base_dir: %(treepkg_dir)s/kde-i18n
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
69 orig_tarball: /home/builder/kde-i18n-de-3.5.5.tar.bz2
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
70
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
71 packager_class: enterprise.kdei18n
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)