annotate demo.cfg @ 1:02d5702314a3

add demo.cfg
author Bernhard Herzog <bh@intevation.de>
date Tue, 06 Mar 2007 18:50:53 +0100
parents
children e6a9f4037f68
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 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 # The way it's implemented now, the command is interpreted as a single
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16 # shell word which means that you cannot define any command line
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 # parameters for the root_cmd. The reason for this limitation is that
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
18 # the code does not use a shell to interpret the command line. A later
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
19 # version might use Python's shlex module to split this command into
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
20 # words.
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 # Set an empty value to indicate that no special command is needed.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 root_cmd: sudo
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28 # 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
29 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
30 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
31 deb_email: packager@example.com
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
32 deb_fullname: Sample Packager
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
33
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
34
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
35 [treepkg]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
36 # Section for general tree packager configuration
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
38 # Interval in seconds between checks for updates
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
39 check_interval: 300
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
40
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
41
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
42 [pkg_kdepim]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
43 # Sections with names starting with "pkg_" define the configuration for
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
44 # a package.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
45
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
46 # The SVN URL to check out for packaging
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
47 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
48
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
49 # The directory under which the packager directory structure will be
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
50 # created.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
51 base_dir: %(treepkg_dir)s/kdepim
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
52
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
53 # Required fields for a pkg_ section inherited from the DEFAULT section
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
54 # in this example: root_cmd deb_email deb_fullname
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
55
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
56 # An additional option, name, is inferred from the section name. Its
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
57 # value is the part of the section name after the pkg_ prefix.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)