Mercurial > treepkg
annotate demo.cfg @ 171:c0ea6cbb0fd2
Add "--debbuildopts -b" to "pbuilder build" command line to stop
pbuilder from creating a source package. The .changes would otherwise
contain references to that new source package instead of the one we
passed to pbuilder. The checksums for the two source packages would be
different so the .changes file would not match the source package that
treepkg produces.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Mon, 23 Jun 2008 16:12:01 +0000 |
parents | a13850c3be85 |
children | 12e4efd5cc74 |
rev | line source |
---|---|
1 | 1 [DEFAULT] |
2 # the default section provides defaults for the other sections. Also, | |
3 # other sections can use the values here in interpolations. | |
4 | |
5 # The basedir to use for interpolations in other sections | |
6 treepkg_dir: /home/builder/enterprise | |
7 | |
8 # The command to use to gain the permissions to execute pbuilder. The | |
9 # default is sudo. The actual command line used to run pbuilder is | |
10 # root_cmd followed by the pbuilder command line. With the default it | |
11 # is something like | |
12 # | |
13 # sudo pbuilder build <name-of-dsc-file> | |
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. |
103 | 17 # shlex.split works pretty much like a POSIX shell but it doesn't |
18 # perform any expansions. | |
1 | 19 # |
20 # Set an empty value to indicate that no special command is needed. | |
21 # | |
22 # You can override this in the pkg_ sections if you need package | |
23 # specific values | |
24 root_cmd: sudo | |
25 | |
47
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
26 # 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
|
27 # 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
|
28 # files and directories. You can override this in the pkg_ sections for |
103 | 29 # 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
|
30 # yourself, then, though. |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
31 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
|
32 |
2802be410156
add config options pbuilderrc and use it when calling pbuilder
Bernhard Herzog <bh@intevation.de>
parents:
6
diff
changeset
|
33 |
1 | 34 # Email address and name to use as the packager in the debian packages. |
35 # You can override this in the pkg_ sections if you need package | |
36 # specific values | |
37 deb_email: packager@example.com | |
38 deb_fullname: Sample Packager | |
39 | |
93
73c67372c7f7
Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents:
92
diff
changeset
|
40 # 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
|
41 # 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
|
42 # 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
|
43 debrevision_prefix: treepkg |
73c67372c7f7
Make the prefix used in the debian revision number configurable.
Bernhard Herzog <bh@intevation.de>
parents:
92
diff
changeset
|
44 |
133
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
45 # 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
|
46 # 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
|
47 # 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
|
48 # 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
|
49 # 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
|
50 # 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
|
51 # them. |
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
52 # 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
|
53 # specific values |
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
54 handle_dependencies: False |
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
55 |
1 | 56 |
57 [treepkg] | |
58 # Section for general tree packager configuration | |
59 | |
60 # Interval in seconds between checks for updates | |
61 check_interval: 300 | |
62 | |
92
1c74e3b56a63
Add instructions_file setting to demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
47
diff
changeset
|
63 # 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
|
64 instructions_file: %(treepkg_dir)s/instructions |
1c74e3b56a63
Add instructions_file setting to demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
47
diff
changeset
|
65 |
1 | 66 |
67 [pkg_kdepim] | |
68 # Sections with names starting with "pkg_" define the configuration for | |
69 # a package. | |
70 | |
3 | 71 # The SVN URL to check out for packaging. Will only be used for the |
72 # initial checkout | |
1 | 73 svn_url: svn://anonsvn.kde.org/home/kde/branches/kdepim/enterprise/kdepim |
74 | |
75 # The directory under which the packager directory structure will be | |
76 # created. | |
77 base_dir: %(treepkg_dir)s/kdepim | |
78 | |
6
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
79 # 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
|
80 # 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
|
81 # KDE-PIM. |
133
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
82 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
|
83 |
1 | 84 # Required fields for a pkg_ section inherited from the DEFAULT section |
85 # in this example: root_cmd deb_email deb_fullname | |
86 | |
87 # An additional option, name, is inferred from the section name. Its | |
88 # 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
|
89 |
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
90 |
104
c0c93d242438
Better default values for the kde-i18n section of demo.cfg
Bernhard Herzog <bh@intevation.de>
parents:
103
diff
changeset
|
91 [pkg_kde-i18n] |
6
38330d45047f
Adapt demo.cfg to the new packager classes
Bernhard Herzog <bh@intevation.de>
parents:
3
diff
changeset
|
92 # 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
|
93 # 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
|
94 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
|
95 base_dir: %(treepkg_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
|
96 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
|
97 |
133
a13850c3be85
Update demo.cfg: add option for dependency handling, adapt
Bernhard Herzog <bh@intevation.de>
parents:
130
diff
changeset
|
98 packager_class: recipes.kde_enterprise_3_5.kde_i18n |