annotate demo.cfg @ 191:94fb3f3ab58b

When building a subset of tracks, make sure new packages are added to pbuilder even if the tracks that depend on them are not being built. To achieve this, the information which tracks are to be built is now stored as the do_build flag in the individual tracks and not by passing only a subset of the tracks ot the PackagerGroup. Otherwise the PackagerGroup would not determine the dependencies correctly.
author Bernhard Herzog <bh@intevation.de>
date Wed, 30 Jul 2008 19:23:10 +0000
parents 12e4efd5cc74
children ab752c4d0786
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
180
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
6 treepkg_dir: /home/builder/mill
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
7
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
8 # basedir for the packager track subdirectories
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
9 tracks_dir: %(treepkg_dir)s/tracks
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
10
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
11 # The command to use to gain the permissions to execute pbuilder. The
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
12 # default is sudo. The actual command line used to run pbuilder is
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
13 # root_cmd followed by the pbuilder command line. With the default it
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
14 # is something like
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
15 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
16 # sudo pbuilder build <name-of-dsc-file>
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
17 #
2
e6a9f4037f68 readconfig.py is smarter now about conversions and supports shlex
Bernhard Herzog <bh@intevation.de>
parents: 1
diff changeset
18 # 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
19 # shlex.split. See the python documentation for the precise semantics.
103
4224f0bf2168 fix typos
Bernhard Herzog <bh@intevation.de>
parents: 93
diff changeset
20 # shlex.split works pretty much like a POSIX shell but it doesn't
4224f0bf2168 fix typos
Bernhard Herzog <bh@intevation.de>
parents: 93
diff changeset
21 # perform any expansions.
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
22 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
23 # Set an empty value to indicate that no special command is needed.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
24 #
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
25 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
26 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
27 root_cmd: sudo
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
28
47
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
29 # The pbuilder config file to use. It should be an absolute filename.
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
30 # The script initpbuilder.py can create it and the rest of the pbuilder
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
31 # files and directories. You can override this in the pkg_ sections for
103
4224f0bf2168 fix typos
Bernhard Herzog <bh@intevation.de>
parents: 93
diff changeset
32 # individual packagers if necessary. You will have to adapt pbuilder
47
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
33 # yourself, then, though.
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
34 pbuilderrc: %(treepkg_dir)s/pbuilder/pbuilderrc
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
35
2802be410156 add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents: 6
diff changeset
36
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
37 # 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
38 # You can override this in the pkg_ sections if you need package
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
39 # specific values
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
40 deb_email: packager@example.com
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
41 deb_fullname: Sample Packager
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
42
93
73c67372c7f7 Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents: 92
diff changeset
43 # A prefix used in the package revision number of the generated debian
73c67372c7f7 Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents: 92
diff changeset
44 # package. E. g. with a prefix "treepkg", the default, a generated
73c67372c7f7 Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents: 92
diff changeset
45 # package might be named foo_1.0-Q1_all.deb
73c67372c7f7 Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents: 92
diff changeset
46 debrevision_prefix: treepkg
73c67372c7f7 Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents: 92
diff changeset
47
133
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
48 # Whether to handle dependencies between packager. This is useful if
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
49 # the tree packager is to build a library and program using the library
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
50 # each with their own debian source packages and repositories. With
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
51 # dependency handling the library will always be updated before the
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
52 # program and the binary packages of the library will be made available
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
53 # to the pbuilder instance, so that the program will be built against
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
54 # them.
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
55 # You can override this in the pkg_ sections if you need package
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
56 # specific values
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
57 handle_dependencies: False
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
58
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
59
180
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
60 # Uncomment and insert the ID of the key with which to sign .dsc, .changes the
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
61 # Release file in the pbuilder's extra-pkg directory.
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
62 # You can override this in the pkg_ sections if you need package
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
63 # specific values
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
64 #signing_key_id:
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
65
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
66
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
67 [treepkg]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
68 # Section for general tree packager configuration
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
69
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
70 # Interval in seconds between checks for updates
180
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
71 check_interval: 3600
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
72
92
1c74e3b56a63 Add instructions_file setting to demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 47
diff changeset
73 # file used to communicate instructions to a running tree packager
1c74e3b56a63 Add instructions_file setting to demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 47
diff changeset
74 instructions_file: %(treepkg_dir)s/instructions
1c74e3b56a63 Add instructions_file setting to demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 47
diff changeset
75
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
76
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
77 [pkg_kdepim]
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
78 # Sections with names starting with "pkg_" define the configuration for
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
79 # a package.
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
80
3
7e9db903ba16 more infos about svn_url
Bernhard Herzog <bh@intevation.de>
parents: 2
diff changeset
81 # 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
82 # initial checkout
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
83 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
84
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
85 # The directory under which the packager directory structure will be
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
86 # created.
180
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
87 base_dir: %(tracks_dir)s/kdepim
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
88
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
89 # 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
90 # 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
91 # KDE-PIM.
133
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
92 packager_class: recipes.kde_enterprise_3_5.kdepim
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
93
1
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
94 # Required fields for a pkg_ section inherited from the DEFAULT section
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
95 # in this example: root_cmd deb_email deb_fullname
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
96
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
97 # An additional option, name, is inferred from the section name. Its
02d5702314a3 add demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
diff changeset
98 # 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
99
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
100
104
c0c93d242438 Better default values for the kde-i18n section of demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 103
diff changeset
101 [pkg_kde-i18n]
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
102 # Another packager. This one for the the localizations. This packager
130
84a1716827f8 Fix typo in comment in demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 104
diff changeset
103 # requires an additional parameter, orig_tarball.
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
104 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kde-l10n
180
12e4efd5cc74 Update demo.cfg with better defaults and a new paragraph for the
Bernhard Herzog <bh@intevation.de>
parents: 133
diff changeset
105 base_dir: %(tracks_dir)s/kde-i18n
104
c0c93d242438 Better default values for the kde-i18n section of demo.cfg
Bernhard Herzog <bh@intevation.de>
parents: 103
diff changeset
106 orig_tarball: %(base_dir)s/kde-i18n-de-3.5.5.tar.bz2
6
38330d45047f Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents: 3
diff changeset
107
133
a13850c3be85 Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents: 130
diff changeset
108 packager_class: recipes.kde_enterprise_3_5.kde_i18n
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)